mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix canceling transfers when the airbase is full.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2955.
This commit is contained in:
@@ -415,7 +415,7 @@ class Squadron:
|
||||
return
|
||||
|
||||
parking_type = ParkingType().from_squadron(self)
|
||||
if self.expected_size_next_turn >= self.location.unclaimed_parking(
|
||||
if self.expected_size_next_turn > self.location.unclaimed_parking(
|
||||
parking_type
|
||||
):
|
||||
raise RuntimeError(f"Not enough parking for {self} at {self.location}.")
|
||||
|
||||
Reference in New Issue
Block a user