mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove double call to "return_pilots_and_aircraft"
This is already done in 'package.remove_flight(flight)'
This commit is contained in:
parent
be31a97c71
commit
785ac6eacc
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user