ontop-playback.lua: fix unused variable warning

This commit is contained in:
Kacper Michajłow
2024-05-12 02:14:00 +02:00
parent 50c4b2cd4c
commit b927857d03
+1 -1
View File
@@ -3,7 +3,7 @@
local was_ontop = false
mp.observe_property("pause", "bool", function(name, value)
mp.observe_property("pause", "bool", function(_, value)
local ontop = mp.get_property_native("ontop")
if value then
if ontop then