needs argument
This commit is contained in:
parent
eb2dd9d792
commit
6a8f2a02b0
@ -104,8 +104,8 @@ fn wait_thread(lua:&mlua::Lua,this:ScriptSignal)->Result<(),mlua::Error>{
|
|||||||
const LUA_WAIT:&str=
|
const LUA_WAIT:&str=
|
||||||
"local coroutine_yield=coroutine.yield
|
"local coroutine_yield=coroutine.yield
|
||||||
local wait_thread=wait_thread
|
local wait_thread=wait_thread
|
||||||
return function()
|
return function(signal)
|
||||||
wait_thread()
|
wait_thread(signal)
|
||||||
return coroutine_yield()
|
return coroutine_yield()
|
||||||
end";
|
end";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user