mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
change loadUI/UI.display lua API
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user