mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
debug
This commit is contained in:
6
CTLD.lua
6
CTLD.lua
@@ -8238,10 +8238,10 @@ function ctld.eventHandler:onEvent(event)
|
|||||||
if not mist.DBs.humansByName[unitName] then
|
if not mist.DBs.humansByName[unitName] then
|
||||||
-- give a few milliseconds for MiST to handle the BIRTH event too
|
-- give a few milliseconds for MiST to handle the BIRTH event too
|
||||||
ctld.logTrace("give MiST some time to handle the BIRTH event too")
|
ctld.logTrace("give MiST some time to handle the BIRTH event too")
|
||||||
timer.scheduleFunction(function()
|
timer.scheduleFunction(function(mistDBsHumansByName, t)
|
||||||
ctld.logTrace("calling the 'processHumanPlayer' function in a timer")
|
ctld.logTrace("calling the 'processHumanPlayer' function in a timer")
|
||||||
processHumanPlayer(mist.DBs.humansByName)
|
processHumanPlayer(mistDBsHumansByName)
|
||||||
end, nil, timer.getTime() + 0.5)
|
end, {mist.DBs.humansByName}, timer.getTime() + 0.5)
|
||||||
else
|
else
|
||||||
ctld.logTrace("calling the 'processHumanPlayer' function immediately")
|
ctld.logTrace("calling the 'processHumanPlayer' function immediately")
|
||||||
processHumanPlayer(mist.DBs.humansByName)
|
processHumanPlayer(mist.DBs.humansByName)
|
||||||
|
|||||||
Reference in New Issue
Block a user