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=
|
||||
"local coroutine_yield=coroutine.yield
|
||||
local wait_thread=wait_thread
|
||||
return function()
|
||||
wait_thread()
|
||||
return function(signal)
|
||||
wait_thread(signal)
|
||||
return coroutine_yield()
|
||||
end";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user