Fixed some buges with love2d support
This commit is contained in:
parent
6de93c10af
commit
0d3a7b9393
@ -1189,7 +1189,7 @@ function thread:newFunctionBase(generator,holdme)
|
||||
end
|
||||
end
|
||||
tfunc.__call = function(t,...)
|
||||
if not t.Active then
|
||||
if t.Active == false then
|
||||
if holdme then
|
||||
return nil, "Function is paused"
|
||||
end
|
||||
|
||||
@ -109,7 +109,7 @@ end
|
||||
multi.integration.GLOBAL = GLOBAL
|
||||
multi.integration.THREAD = THREAD
|
||||
require("multi.integration.loveManager.extensions")
|
||||
mulit.print("Integrated Love Threading!")
|
||||
multi.print("Integrated Love Threading!")
|
||||
return {init=function()
|
||||
return GLOBAL,THREAD
|
||||
end}
|
||||
@ -106,7 +106,7 @@ function threads.kill()
|
||||
error("Thread Killed!\1")
|
||||
end
|
||||
|
||||
function THREAD.pushStatus(...)
|
||||
function threads.pushStatus(...)
|
||||
local status_channel = love.thread.getChannel("__"..__THREADID__.."__MULTI__STATUS_CHANNEL__")
|
||||
local args = {...}
|
||||
status_channel:push(__THREADID__, args)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user