mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Reset auto-assignable mission types if liberation save
This commit is contained in:
parent
db038ecdea
commit
6ced738256
@ -133,6 +133,9 @@ class Migrator:
|
|||||||
0, s.location.unclaimed_parking(parking_type) + s.owned_aircraft
|
0, s.location.unclaimed_parking(parking_type) + s.owned_aircraft
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if self.is_liberation:
|
||||||
|
s.set_auto_assignable_mission_types(s.auto_assignable_mission_types)
|
||||||
|
|
||||||
def _update_factions(self) -> None:
|
def _update_factions(self) -> None:
|
||||||
for c in self.game.coalitions:
|
for c in self.game.coalitions:
|
||||||
if isinstance(c.faction.country, str):
|
if isinstance(c.faction.country, str):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user