Reset auto-assignable mission types if liberation save

This commit is contained in:
Raffson 2023-07-02 20:57:24 +02:00
parent db038ecdea
commit 6ced738256
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -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):