Working on Init Bugs

This commit is contained in:
Cooldude2606 committed 2018-10-12 19:23:02 +01:00
1 parent 0b6009e92e
commit ba3a01f9d6
7 files changed
+12 -8

No files matched your search

+3 -1
View File
@@ -466,7 +466,9 @@ Manager.error = setmetatable({
rawset(tbl,'__crash',true)
rawget(tbl,'__error_call')(err,2)
end
rawget(tbl,'__error_call')(err,2)
local args = {...}
local trace = args[1] and type(args[1]) == 'number' and args[1] or 2
rawget(tbl,'__error_call')(err,trace)
end,
__index=function(tbl,key)
-- this allows the __error_handler to be called from many different names