mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
minor
This commit is contained in:
@@ -1491,7 +1491,7 @@ function RECOVERYTANKER:_ActivateTACAN(delay)
|
||||
local unit=self.tanker:GetUnit(1)
|
||||
|
||||
-- Check if unit is alive.
|
||||
if unit:IsAlive() then
|
||||
if unit and unit:IsAlive() then
|
||||
|
||||
-- Debug message.
|
||||
local text=string.format("Activating recovery tanker TACAN beacon: channel=%d mode=%s, morse=%s.", self.TACANchannel, self.TACANmode, self.TACANmorse)
|
||||
|
||||
Reference in New Issue
Block a user