mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Release callsigns when deleting flights (#3455)
This commit is contained in:
parent
9ab5d0e892
commit
14ccc0753d
@ -104,4 +104,6 @@ class PackageBuilder:
|
||||
"""Returns any planned flights to the inventory."""
|
||||
flights = list(self.package.flights)
|
||||
for flight in flights:
|
||||
if flight.callsign is not None:
|
||||
self.callsign_generator.release_callsign(flight.callsign)
|
||||
self.package.remove_flight(flight)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user