mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Clear parking slots when save is loaded
This commit is contained in:
parent
2fdc9bbb2d
commit
d2004e5b11
@ -78,6 +78,8 @@ class Migrator:
|
||||
def _update_control_points(self) -> None:
|
||||
is_sinai = self.game.theater.terrain.name == "SinaiMap"
|
||||
for cp in self.game.theater.controlpoints:
|
||||
for parking_slot in cp.parking_slots:
|
||||
parking_slot.unit_id = None
|
||||
is_carrier = cp.is_carrier
|
||||
is_lha = cp.is_lha
|
||||
is_fob = cp.category == "fob"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user