Don't reject exact fits when transferring squadrons.

Resolves #1952
This commit is contained in:
MetalStormGhost
2022-02-06 22:39:41 +02:00
committed by GitHub
parent 3987f26689
commit a024be6b1d
2 changed files with 2 additions and 1 deletions

View File

@@ -339,7 +339,7 @@ class Squadron:
)
return
if self.expected_size_next_turn >= destination.unclaimed_parking():
if self.expected_size_next_turn > destination.unclaimed_parking():
raise RuntimeError(f"Not enough parking for {self} at {destination}.")
if not destination.can_operate(self.aircraft):
raise RuntimeError(f"{self} cannot operate at {destination}.")