mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2026-08-24 12:05:18 +00:00
add option for extra logging
This commit is contained in:
+8
-1
@@ -19,5 +19,12 @@ else
|
|||||||
trigger.action.outText("DEBUG MODE OFF", 10)
|
trigger.action.outText("DEBUG MODE OFF", 10)
|
||||||
HOGGIT = {}
|
HOGGIT = {}
|
||||||
HOGGIT.debug = false
|
HOGGIT.debug = false
|
||||||
HOGGIT.debug_text = function()end
|
|
||||||
|
if trigger.misc.getUserFlag(9999) == 2
|
||||||
|
HOGGIT.debug_text = function(text, time)
|
||||||
|
env.info("HOGGIT -- " .. text)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
HOGGIT.debug_text = function()end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user