mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
fix bug #394
This commit is contained in:
parent
ee2f4ecbc8
commit
f7966b8d8c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user