change loadUI/UI.display lua API

This commit is contained in:
Eduardo Bart
2011-11-17 18:40:31 -02:00
parent 63cbe11f7e
commit 55136fe866
21 changed files with 88 additions and 45 deletions

View File

@@ -3,7 +3,7 @@ function table.dump(t, depth)
for k,v in pairs(t) do
str = string.rep(' ', depth * 2) .. k .. ': '
if type(v) ~= "table" then
print(str .. v)
print(str .. tostring(v))
else
print(str)
table.dump(v, depth+1)