We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05370e commit 33bb079Copy full SHA for 33bb079
Shared/mods/deathmatch/logic/luascripts/coroutine_debug.lua.h
@@ -15,11 +15,11 @@ local outputDebugString = outputDebugString
15
coroutine._resume = coroutine.resume -- For access to the original function
16
local _coroutine_resume = coroutine.resume
17
function coroutine.resume(...)
18
- local state,result = _coroutine_resume(...)
19
- if not state then
20
- outputDebugString( tostring(result), 1 )
+ local result = {_coroutine_resume(...)}
+ if not result[1] then
+ outputDebugString( tostring(result[2]), 1 )
21
end
22
- return state,result
+ return unpack(result)
23
24
25
)~LUA~";
0 commit comments