enableDebug
Definition
-- @/lua/ge/extensions/gameplay/missions/missionScreen.lua:1040
M.enableDebug = function(enable)
if enable then
M.onUpdate = M.debugOnUpdate
else
M.onUpdate = nil
end
extensions.hookUpdate("onUpdate")
end
Callers
@/lua/common/tech/techCommunication.lua
local function enableDebug()
log('I', logTag, 'Enabled tech communication debug mode.')
@/lua/ge/extensions/tech/techCore.lua
if debug == true then
tcom.enableDebug()
extensions.load('tech/techCapture')
@/lua/common/extensions/tech/techCapture.lua
end
tcom.enableDebug()
captureRequests = true