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