mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
This commit is contained in:
parent
8dd850d685
commit
0dc26216c2
@ -2454,9 +2454,13 @@ end
|
||||
|
||||
--- Set that mission assets are teleported to the mission execution waypoint.
|
||||
-- @param #AUFTRAG self
|
||||
-- @param #boolean Switch If `true` or `nil`, teleporting is on. If `false`, teleporting is off.
|
||||
-- @return #AUFTRAG self
|
||||
function AUFTRAG:SetTeleport()
|
||||
self.teleport=true
|
||||
function AUFTRAG:SetTeleport(Switch)
|
||||
if Switch==nil then
|
||||
Switch=true
|
||||
end
|
||||
self.teleport=Switch
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
@ -1013,7 +1013,7 @@ function OPERATION:onafterPhaseChange(From, Event, To, Phase)
|
||||
end
|
||||
|
||||
-- Debug message.
|
||||
self:T(self.lid..string.format("Phase change: %s --> %s", oldphase, Phase.name))
|
||||
self:I(self.lid..string.format("Phase change: %s --> %s", oldphase, Phase.name))
|
||||
|
||||
-- Set currently active phase.
|
||||
self.phase=Phase
|
||||
|
||||
@ -637,7 +637,9 @@ function AIRBASE:Register(AirbaseName)
|
||||
self:_InitRunways()
|
||||
|
||||
-- Set the active runways based on wind direction.
|
||||
self:SetActiveRunway()
|
||||
if self.isAirdrome then
|
||||
self:SetActiveRunway()
|
||||
end
|
||||
|
||||
-- Init parking spots.
|
||||
self:_InitParkingSpots()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user