aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ipc.lua6
1 files changed, 3 insertions, 3 deletions
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