Streamlining

This commit is contained in:
Raffson
2023-10-07 17:29:44 +02:00
parent 3499ba5ffa
commit c50dcaaafb
7 changed files with 17 additions and 11 deletions

View File

@@ -541,7 +541,7 @@ class Faction:
def remove_aircraft_by_name(self, name: str) -> None:
for i in list(self.aircrafts):
if i.name == name:
if i.display_name == name:
self.aircrafts.remove(i)
def remove_preset(self, name: str) -> None: