From 1cf38cf027f057431e9e80608cf0f91ab22cffdf Mon Sep 17 00:00:00 2001 From: jgmdev Date: Tue, 2 May 2023 14:34:57 -0400 Subject: IPC: return from overriden system.wait_event --- plugins/ipc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/ipc.lua b/plugins/ipc.lua index 16eab5d..428c4cf 100644 --- a/plugins/ipc.lua +++ b/plugins/ipc.lua @@ -828,12 +828,12 @@ system.wait_event = function(timeout) local h = 0.5 / 2 local dt = math.ceil(t / h) * h - t - system_wait_event(dt + 1 / config.fps) + return system_wait_event(dt + 1 / config.fps) else - system_wait_event() + return system_wait_event() end else - system_wait_event(timeout) + return system_wait_event(timeout) end end -- cgit v1.2.3