mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix crash when deleting waypoints.
self.coalition is used but was never set.
This commit is contained in:
parent
452848fd2a
commit
24a6c5995b
@ -35,6 +35,7 @@ class QFlightWaypointTab(QFrame):
|
|||||||
def __init__(self, game: Game, package: Package, flight: Flight):
|
def __init__(self, game: Game, package: Package, flight: Flight):
|
||||||
super(QFlightWaypointTab, self).__init__()
|
super(QFlightWaypointTab, self).__init__()
|
||||||
self.game = game
|
self.game = game
|
||||||
|
self.coalition = game.coalition_for(player=True)
|
||||||
self.package = package
|
self.package = package
|
||||||
self.flight = flight
|
self.flight = flight
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user