mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Streamlining
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user