Posted 16 January 2015 - 11:25 PM
VERSION:
1.65
DESCRIPTION:
When you try to pass a function in os.queueEvent(), os.pullEvent() won't return the actual function, but instead nil.
EXPECTED RESULT:
The function getting passed.
REPRODUCTION STEPS:
1.65
DESCRIPTION:
When you try to pass a function in os.queueEvent(), os.pullEvent() won't return the actual function, but instead nil.
EXPECTED RESULT:
The function getting passed.
REPRODUCTION STEPS:
os.queueEvent("test", function() print("Hi") end)
ev, fnc = os.pullEvent("test")
print(tostring(fnc))