From de8d34d64e0467847157388d447c62589234cd01 Mon Sep 17 00:00:00 2001 From: Vasyl Horbachenko Date: Sun, 24 Jun 2018 01:08:48 +0300 Subject: [PATCH] fixed missing debug event skipping --- game/db.py | 3 --- game/game.py | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/game/db.py b/game/db.py index d487b9af..a75663ec 100644 --- a/game/db.py +++ b/game/db.py @@ -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", }, diff --git a/game/game.py b/game/game.py index c5f2d901..c7dbeca2 100644 --- a/game/game.py +++ b/game/game.py @@ -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()