Closer to getting things working...

This commit is contained in:
2023-08-06 00:38:22 -04:00
parent bab9b13cb8
commit a660b63581
9 changed files with 147 additions and 79 deletions
+2
View File
@@ -70,6 +70,8 @@ function multi:newSystemThreadedTable(name)
return self
end
c.__init = c.init
function c:Hold(opt)
if opt.key then
return thread.hold(function()
+2 -2
View File
@@ -92,8 +92,8 @@ function INIT()
repeat
wait()
until GLOBAL[name] ~= nil
if type(GLOBAL[name].init) == "function" then
return GLOBAL[name]:init()
if type(GLOBAL[name].__init) == "function" then
return GLOBAL[name]:__init()
else
return GLOBAL[name]
end