mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
fix bug #394
This commit is contained in:
parent
ee2f4ecbc8
commit
f7966b8d8c
@ -217,12 +217,13 @@ class QTopPanel(QFrame):
|
|||||||
if isinstance(event,
|
if isinstance(event,
|
||||||
FrontlineAttackEvent) and event.is_player_attacking:
|
FrontlineAttackEvent) and event.is_player_attacking:
|
||||||
game_event = event
|
game_event = event
|
||||||
|
# TODO: Why does this exist?
|
||||||
if game_event is None:
|
if game_event is None:
|
||||||
game_event = FrontlineAttackEvent(
|
game_event = FrontlineAttackEvent(
|
||||||
self.game,
|
self.game,
|
||||||
self.game.theater.controlpoints[0],
|
self.game.theater.controlpoints[0],
|
||||||
self.game.theater.controlpoints[0],
|
self.game.theater.controlpoints[1],
|
||||||
self.game.theater.controlpoints[0].position,
|
self.game.theater.controlpoints[1].position,
|
||||||
self.game.player_name,
|
self.game.player_name,
|
||||||
self.game.enemy_name)
|
self.game.enemy_name)
|
||||||
game_event.is_awacs_enabled = True
|
game_event.is_awacs_enabled = True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user