needs argument

This commit is contained in:
Quaternions 2024-10-21 19:11:06 -07:00
parent eb2dd9d792
commit 6a8f2a02b0

View File

@ -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";