mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 01:03:46 +01:00
Fix debug.stack
This commit is contained in:
parent
a9c4e86b83
commit
d8f3bf2902
@ -35,7 +35,7 @@ function stack(stacklevel)
|
|||||||
break
|
break
|
||||||
end
|
end
|
||||||
info.func = tostring(info.func)
|
info.func = tostring(info.func)
|
||||||
info.variables = variables(level)
|
info.variables = variables(stacklevel)
|
||||||
stack[stacklevel - 1] = info
|
stack[stacklevel - 1] = info
|
||||||
stacklevel = stacklevel + 1
|
stacklevel = stacklevel + 1
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user