mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix migrator issue in _update_packagewaypoints
This commit is contained in:
parent
6517dc0de8
commit
bf23ee4e8f
@ -47,8 +47,8 @@ class Migrator:
|
|||||||
def _update_packagewaypoints(self) -> None:
|
def _update_packagewaypoints(self) -> None:
|
||||||
for c in self.game.coalitions:
|
for c in self.game.coalitions:
|
||||||
for p in c.ato.packages:
|
for p in c.ato.packages:
|
||||||
if p.flights:
|
if p.waypoints:
|
||||||
try_set_attr(p.waypoints, "initial", PackageWaypoints.create(p, c))
|
try_set_attr(p.waypoints, "initial", None)
|
||||||
|
|
||||||
def _update_package_attributes(self) -> None:
|
def _update_package_attributes(self) -> None:
|
||||||
for c in self.game.coalitions:
|
for c in self.game.coalitions:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user