Remove double call to "return_pilots_and_aircraft"

This is already done in 'package.remove_flight(flight)'
This commit is contained in:
Raffson 2023-07-05 22:30:10 +02:00
parent be31a97c71
commit 785ac6eacc
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -416,7 +416,6 @@ class Squadron:
for flight in list(package.flights):
if flight.squadron == self and flight.flight_type is FlightType.FERRY:
package.remove_flight(flight)
flight.return_pilots_and_aircraft()
if not package.flights:
self.coalition.ato.remove_package(package)