mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +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):
|
||||
continue
|
||||
pylon.equip(group, fallback)
|
||||
break
|
||||
|
||||
def clear_parking_slots(self) -> None:
|
||||
for cp in self.game.theater.controlpoints:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user