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