INPStarfall/Starfall

coroutine.resume() passes only the first argument

Closed this issue · 0 comments

The following code results in "1, nil, nil, nil"

local function testfunc(a, b, c, d)
    print(tostring(a), tostring(b), tostring(c), tostring(d))
end

coroutine.resume(coroutine.create(testfunc), "1", "2", "3", "4")