mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 22:33:13 +09:00
Added Bebug command
This commit is contained in:
1 parent
ce0e14848e
commit
bffdc34504
2 files changed
+15
No files matched your search
@@ -72,5 +72,12 @@ function table.tostring( tbl )
|
||||
end
|
||||
return "{" .. table.concat( result, "," ) .. "}"
|
||||
end
|
||||
-- allows a simple way to debug code
|
||||
function debug_write(idenitys,string)
|
||||
if global.debug then
|
||||
game.write_file('debug.log', '\n'..game.tick..' ['..table.concat(idenitys, " " )..'] '..string, true, 0)
|
||||
end
|
||||
end
|
||||
Event.register(-1,function() global.debug = false end)
|
||||
--Please Only Edit Above This Line-----------------------------------------------------------
|
||||
return credits
|
||||
Reference in new issue
Block a user