diff --git a/modules/base/header.lua b/modules/base/header.lua index 4fe3dca..5e25ac8 100644 --- a/modules/base/header.lua +++ b/modules/base/header.lua @@ -1,4 +1,4 @@ -tT,p,C,T={},1,coroutine,table +tT,p,cT,C,T={},1,1,coroutine,table function E() if tT[cT] ~= nil then return tT[cT][3] end end diff --git a/modules/library/print.lua b/modules/library/print.lua index f27f84e..5eee2d4 100644 --- a/modules/library/print.lua +++ b/modules/library/print.lua @@ -1,6 +1,6 @@ function write(...) for k,v in pairs({...}) do - h("display",tostring(v),E().sI) + h("display",tostring(v),E().sI or 1) end end function print(...)