mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update FlightGroup.lua
- Fixed bug that function `:GetAirWing` was renamed to `:GetAirwing()`
This commit is contained in:
parent
265196398a
commit
55fe3630c5
@ -1959,7 +1959,7 @@ function FLIGHTGROUP:onafterArrived(From, Event, To)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--TODO: Check that current base is airwing base.
|
--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.
|
-- Check what to do.
|
||||||
if airwing and not (self:IsPickingup() or self:IsTransporting()) then
|
if airwing and not (self:IsPickingup() or self:IsTransporting()) then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user