fix stackoverflow
This commit is contained in:
parent
08182e1d04
commit
df308cf365
@ -1,7 +1,7 @@
|
||||
local function _printTable(table, s, tabs)
|
||||
for key, value in pairs(table) do
|
||||
if type(value) == "table" then
|
||||
_printTable(table, "", tabs + 1)
|
||||
_printTable(value, "", tabs + 1)
|
||||
else
|
||||
print(string.rep(' ', tabs), key, value)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user