fixed missing debug event skipping

This commit is contained in:
Vasyl Horbachenko 2018-06-24 01:08:48 +03:00
parent 7e55eb2d8d
commit de8d34d64e
2 changed files with 1 additions and 5 deletions

View File

@ -251,9 +251,6 @@ PLANE_PAYLOAD_OVERRIDES = {
"*": "12x9A4172, 40xS-8",
},
# TODO: figure out a way to setup su33 loadout
Su_33: FighterSweep,
M_2000C: {
"*": "Combat Air Patrol",
},

View File

@ -180,8 +180,7 @@ class Game:
def pass_turn(self, no_action=False, ignored_cps: typing.Collection[ControlPoint]=None):
for event in self.events:
if type(event) is UnitsDeliveryEvent:
event.skip()
event.skip()
if not no_action:
self._budget_player()