summaryrefslogtreecommitdiffstats
path: root/TOOLS/lua/observe-all.lua
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/lua/observe-all.lua')
-rw-r--r--TOOLS/lua/observe-all.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/lua/observe-all.lua b/TOOLS/lua/observe-all.lua
index 9d75692092..6a209cd68d 100644
--- a/TOOLS/lua/observe-all.lua
+++ b/TOOLS/lua/observe-all.lua
@@ -6,7 +6,7 @@
local utils = require("mp.utils")
-function observe(name)
+local function observe(name)
mp.observe_property(name, "native", function(prop, val)
print("property '" .. prop .. "' changed to '" ..
utils.to_string(val) .. "'")