mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 17:23:45 +01:00
Fix assertdump stack level
This commit is contained in:
parent
b87395272b
commit
11e8bc6f4c
2
init.lua
2
init.lua
@ -46,7 +46,7 @@ modlib = {
|
|||||||
}),
|
}),
|
||||||
assertdump = function(v, value)
|
assertdump = function(v, value)
|
||||||
if not v then
|
if not v then
|
||||||
error(dump(value))
|
error(dump(value), 2)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user