1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-21 19:44:21 -05:00

fix type annotation in event.ignore

This commit is contained in:
XeonSquared 2020-05-12 11:44:05 +10:00
parent d47a0748bd
commit a917016a66

View File

@ -36,7 +36,7 @@ function event.listen(e,f) -- string function -- -- run function *f* for every o
end end,string.format("[%d] %s listener",os.pid(),e))
end
function event.ignore(e,f) -- string function -- stop function *f* running for every occurance of event *e*
function event.ignore(e,f) -- string function -- -- stop function *f* running for every occurance of event *e*
computer.pushSignal("unlisten",e,tostring(f))
end