mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix bug in weapon downgrading.
We want the *first* valid replacement, not the last one :) https://github.com/Khopa/dcs_liberation/issues/490
This commit is contained in:
parent
7ef191be2a
commit
e174c1b147
@ -935,6 +935,7 @@ class AircraftConflictGenerator:
|
|||||||
if not fallback.available_on(self.game.date):
|
if not fallback.available_on(self.game.date):
|
||||||
continue
|
continue
|
||||||
pylon.equip(group, fallback)
|
pylon.equip(group, fallback)
|
||||||
|
break
|
||||||
|
|
||||||
def clear_parking_slots(self) -> None:
|
def clear_parking_slots(self) -> None:
|
||||||
for cp in self.game.theater.controlpoints:
|
for cp in self.game.theater.controlpoints:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user