fixed menu info displaying, replaced debug() by DEBUG()

the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
This commit is contained in:
HW
2012-05-28 18:59:16 +02:00
parent 8191cbe852
commit 60ccd7441e
15 changed files with 50 additions and 54 deletions

View File

@@ -27,7 +27,7 @@ function dump(data)
return table.concat(out)
end
function debug(...)
function DEBUG(...)
local line = ""
for i,v in ipairs(arg) do
if type(v) == "table" then