TOOLS/observe-all.lua: fix lint warning
This commit is contained in:
1 parent
5977722adc
commit
1f356d6784
2 files changed
+1
-2
No files matched your search
@@ -110,7 +110,6 @@ max_line_length = 100
|
||||
-- TODO: Remove everything below this line
|
||||
local todo = {
|
||||
"player/lua/osc.lua",
|
||||
"TOOLS/lua/observe-all.lua",
|
||||
"TOOLS/lua/osd-test.lua",
|
||||
"TOOLS/lua/status-line.lua",
|
||||
"TOOLS/lua/test-hooks.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) .. "'")
|
||||
|
||||
Reference in new issue
Block a user