diff --git a/modules/debug/log.lua b/modules/debug/log.lua index 78c20cd..bc973c2 100644 --- a/modules/debug/log.lua +++ b/modules/debug/log.lua @@ -19,9 +19,9 @@ if component then table.remove(logt,1) end end - Log = "" + _G.Log = "" for k,v in ipairs(logt) do - Log=Log .. v .. "\n" + _G.Log=_G.Log .. v .. "\n" end end print=log