Skip to content

Commit c8b4a93

Browse files
committed
Correct number of zones
Only populate zone 0
1 parent 77ddc88 commit c8b4a93

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/generate_release.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
logger.info("Creating zone folders")
9191
for i in range(NUM_ZONES):
9292
Path(temp_dir / f"zone_{i}").mkdir()
93+
# Only generate zone 0: SRO only
94+
break
9395

9496
shutil.copy(project_root / "example_robots/basic_robot.py", temp_dir / "zone_0/robot.py")
9597

simulator/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
ZONE_ROOT = ARENA_ROOT
1515
GAME_MODE_FILE = ARENA_ROOT / 'mode.txt'
1616

17-
NUM_ZONES = 4
17+
NUM_ZONES = 2
1818
DEFAULT_MATCH_DURATION = 150 # seconds
1919

2020

0 commit comments

Comments
 (0)