From f7966b8d8c00a5be29657e229f8acfaed67337ad Mon Sep 17 00:00:00 2001 From: walterroach Date: Wed, 18 Nov 2020 16:35:11 -0600 Subject: [PATCH] fix bug #394 --- qt_ui/widgets/QTopPanel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qt_ui/widgets/QTopPanel.py b/qt_ui/widgets/QTopPanel.py index 79f4e77e..4f7e74bc 100644 --- a/qt_ui/widgets/QTopPanel.py +++ b/qt_ui/widgets/QTopPanel.py @@ -217,12 +217,13 @@ class QTopPanel(QFrame): if isinstance(event, FrontlineAttackEvent) and event.is_player_attacking: game_event = event + # TODO: Why does this exist? if game_event is None: game_event = FrontlineAttackEvent( self.game, self.game.theater.controlpoints[0], - self.game.theater.controlpoints[0], - self.game.theater.controlpoints[0].position, + self.game.theater.controlpoints[1], + self.game.theater.controlpoints[1].position, self.game.player_name, self.game.enemy_name) game_event.is_awacs_enabled = True