Skip to content

Commit f2307f6

Browse files
Merge branch 'main' into public-release
2 parents 6152ac9 + 91131b2 commit f2307f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

battlecode25/engine/game/game.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def run_turn(robot: Robot):
7373
self.team_info.add_execution_time(robot.team, run_time)
7474
if self.team_info.get_execution_time(robot.team) >= GameConstants.MAX_TEAM_EXECUTION_TIME:
7575
self.resign(robot.team)
76-
if robot.disintegrated:
76+
if robot.disintegrated and robot.id in self.id_to_robot:
7777
self.destroy_robot(robot.id, True)
7878

7979
if self.running:

0 commit comments

Comments
 (0)