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:
parent
5758436dbf
commit
855fa1347b
@ -215,6 +215,7 @@ BAI/ANTISHIP/DEAD/STRIKE/BARCAP/CAS/OCA/AIR-ASSAULT (main) missions
|
|||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
|
* **[Campaign]** Fixed error when canceling squadron transfer if the current location would be exactly full.
|
||||||
* **[Data]** Fixed the class of the Samuel Chase so it can't be picked for a AAA or SHORAD site.
|
* **[Data]** Fixed the class of the Samuel Chase so it can't be picked for a AAA or SHORAD site.
|
||||||
* **[Data]** Allow CH-47D, CH-53E and UH-60A to operate from carriers and LHAs.
|
* **[Data]** Allow CH-47D, CH-53E and UH-60A to operate from carriers and LHAs.
|
||||||
* **[Mission Generation]** Restored previous AI behavior for anti-ship missions. A DCS update caused only a single aircraft in a flight to attack. The full flight will now attack like they used to.
|
* **[Mission Generation]** Restored previous AI behavior for anti-ship missions. A DCS update caused only a single aircraft in a flight to attack. The full flight will now attack like they used to.
|
||||||
|
|||||||
@ -415,7 +415,7 @@ class Squadron:
|
|||||||
return
|
return
|
||||||
|
|
||||||
parking_type = ParkingType().from_squadron(self)
|
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
|
parking_type
|
||||||
):
|
):
|
||||||
raise RuntimeError(f"Not enough parking for {self} at {self.location}.")
|
raise RuntimeError(f"Not enough parking for {self} at {self.location}.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user