From bf7df6721abf5717eb7e9a3ee52fd8982539c541 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sat, 21 Nov 2020 15:00:07 -0800 Subject: [PATCH] Fix turn 0. `Game.initialize_turn` doesn't run on turn zero, so we have to set up the unit order events when we create the `Game`. --- game/game.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/game.py b/game/game.py index 8f691b52..889e5c66 100644 --- a/game/game.py +++ b/game/game.py @@ -101,6 +101,9 @@ class Game: self.theater.controlpoints ) + for cp in self.theater.controlpoints: + cp.pending_unit_deliveries = self.units_delivery_event(cp) + self.sanitize_sides() self.on_load()