#FlightGroup dual naming in functions

This commit is contained in:
Applevangelist 2022-10-06 13:28:19 +02:00
parent e18a5e4832
commit 40427c75b9

View File

@ -380,7 +380,7 @@ end
--- Get name of airwing the flight group belongs to. --- Get name of airwing the flight group belongs to.
-- @param #FLIGHTGROUP self -- @param #FLIGHTGROUP self
-- @return #string Name of the airwing or "None" if the flightgroup does not belong to any airwing. -- @return #string Name of the airwing or "None" if the flightgroup does not belong to any airwing.
function FLIGHTGROUP:GetAirwing() function FLIGHTGROUP:GetAirwingName()
local name=self.legion and self.legion.alias or "None" local name=self.legion and self.legion.alias or "None"
return name return name
end end