Skip to content

Commit 8e58d8a

Browse files
Merge branch 'main' into public-release
2 parents ffa7795 + 2677c67 commit 8e58d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

battlecode25/engine/game/game_fb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,12 @@ def add_die_action(self, id, was_exception):
308308
def add_remove_paint_action(self, affected_robot_id, paint):
309309
action_offset = DamageAction.CreateDamageAction(self.builder, affected_robot_id, paint)
310310
self.current_actions.append(action_offset)
311-
self.current_actions.append(Action.Action().DamageAction)
311+
self.current_action_types.append(Action.Action().DamageAction)
312312

313313
def add_complete_resource_pattern_action(self, loc):
314314
action_offset = TransferAction.CreateTransferAction(self.builder, self.initial_map.loc_to_index(loc), 0)
315315
self.current_actions.append(action_offset)
316-
self.current_actions.append(Action.Action().TransferAction)
316+
self.current_action_types.append(Action.Action().TransferAction)
317317

318318
def add_team_info(self, team, money_amount, coverage_amount, resource_patterns):
319319
self.team_ids.append(fb_from_team(team))

0 commit comments

Comments
 (0)