Update FlightGroup.lua

- Fixed bug that function `:GetAirWing` was renamed to `:GetAirwing()`
This commit is contained in:
Frank 2022-10-13 23:11:09 +02:00
parent 265196398a
commit 55fe3630c5

View File

@ -1959,7 +1959,7 @@ function FLIGHTGROUP:onafterArrived(From, Event, To)
end
--TODO: Check that current base is airwing base.
local airwing=self:GetAirWing() --airwing:GetAirbaseName()==self.currbase:GetName()
local airwing=self:GetAirwing() --airwing:GetAirbaseName()==self.currbase:GetName()
-- Check what to do.
if airwing and not (self:IsPickingup() or self:IsTransporting()) then