Don't reject exact fits when transferring squadrons.

cherry-pick from a024be6b1d
This commit is contained in:
MetalStormGhost
2022-02-06 22:39:41 +02:00
committed by RndName
parent 7e54c8dea7
commit eb8859ebea
2 changed files with 2 additions and 1 deletions

View File

@@ -340,7 +340,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}.")