summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/lua/osc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 3301df3f36..7ae7fd0a3e 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1895,6 +1895,8 @@ end
-- called by mpv on every frame
function tick()
+ if (not state.enabled) then return end
+
if (state.idle) then
-- render idle message