mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix crash when deleting waypoints.
self.coalition is used but was never set.
This commit is contained in:
parent
07632e2705
commit
793a87d4fb
@ -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