From 48f35765811b0f74d8b3b3fa4ecc77c890792fc7 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Sat, 9 Sep 2017 21:23:26 +1000 Subject: [PATCH] fixed that issue with log() where it DOESN'T WORK --- modules/debug/log.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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