Skip to content

Commit

Permalink
Update default max rounds and freeze time
Browse files Browse the repository at this point in the history
  • Loading branch information
solcloud committed Nov 18, 2024
1 parent 42865fe commit 5640587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/src/Core/GameProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class GameProperty
const RANDOMIZE_SPAWN_POSITION = 'randomize_spawn_position';
public bool $randomize_spawn_position = true;
const MAX_ROUNDS = 'max_rounds';
public int $max_rounds = 30;
public int $max_rounds = 24;
const ROUND_TIME_MS = 'round_time_ms';
public int $round_time_ms = 115000; // 1:55 min
const BOMB_EXPLODE_TIME_MS = 'bomb_explode_time_ms';
Expand All @@ -22,7 +22,7 @@ class GameProperty
const HALF_TIME_FREEZE_SEC = 'half_time_freeze_sec';
public int $half_time_freeze_sec = 15;
const FREEZE_TIME_SEC = 'freeze_time_sec';
public int $freeze_time_sec = 15;
public int $freeze_time_sec = 10;
const BUY_TIME_SEC = 'buy_time_sec';
public int $buy_time_sec = 20;
const ROUND_END_COOL_DOWN_SEC = 'round_end_cool_down_sec';
Expand Down
4 changes: 2 additions & 2 deletions test/og/Unit/ProtocolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function testSerialization(): void
"bomb_explode_time_ms": 40000,
"bomb_plant_time_ms": 3200,
"buy_time_sec": 20,
"freeze_time_sec": 15,
"freeze_time_sec": 10,
"half_time_freeze_sec": 15,
"loss_bonuses": [
1400,
Expand All @@ -162,7 +162,7 @@ public function testSerialization(): void
2900,
3400
],
"max_rounds": 30,
"max_rounds": 24,
"randomize_spawn_position": true,
"round_end_cool_down_sec": 4,
"round_time_ms": 115000,
Expand Down

0 comments on commit 5640587

Please sign in to comment.