mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#SPAWN - fix log issue when _OnCrash InitUnitName is empty
This commit is contained in:
parent
d2d0659776
commit
ccf3093fe8
@ -3920,8 +3920,8 @@ end
|
|||||||
-- @param #SPAWN self
|
-- @param #SPAWN self
|
||||||
-- @param Core.Event#EVENTDATA EventData
|
-- @param Core.Event#EVENTDATA EventData
|
||||||
function SPAWN:_OnDeadOrCrash( EventData )
|
function SPAWN:_OnDeadOrCrash( EventData )
|
||||||
self:T( "Dead or crash event ID "..EventData.id)
|
self:T( "Dead or crash event ID "..tostring(EventData.id or 0))
|
||||||
self:T( "Dead or crash event for "..EventData.IniUnitName )
|
self:T( "Dead or crash event for "..tostring(EventData.IniUnitName or "none") )
|
||||||
|
|
||||||
--if EventData.id == EVENTS.Dead then return end
|
--if EventData.id == EVENTS.Dead then return end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user