pause-when-minimize.lua: fix unused variable warning

This commit is contained in:
Kacper Michajłow committed 2024-05-12 20:06:39 +02:00
1 parent b927857d03
commit 885cc30596
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
local did_minimize = false
mp.observe_property("window-minimized", "bool", function(name, value)
mp.observe_property("window-minimized", "bool", function(_, value)
local pause = mp.get_property_native("pause")
if value == true then
if pause == false then