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

This commit is contained in:
Kacper Michajłow 2024-05-12 02:14:56 +02:00
parent b927857d03
commit 885cc30596
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
local did_minimize = false 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") local pause = mp.get_property_native("pause")
if value == true then if value == true then
if pause == false then if pause == false then