mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
remove extra frames from debug.get_traceback result
This commit is contained in:
parent
3146bf0133
commit
9dc09e920c
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ end
|
|||
|
||||
function debug.get_traceback()
|
||||
local frames = {}
|
||||
local n = 0
|
||||
local n = 2
|
||||
while true do
|
||||
local info = debug.getinfo(n)
|
||||
if info then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue