From ab8b6e3c16ebcf07d00b276115158caa5dfc842b Mon Sep 17 00:00:00 2001 From: Julian Date: Sun, 5 Jul 2015 21:52:37 +0200 Subject: stats: fix oversight this one slipped through my "tests" --- player/lua/stats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua/stats.lua b/player/lua/stats.lua index b9c37aeee8..bbc3778fac 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -169,7 +169,7 @@ end function append_property(s, sec, prop, attr, excluded) excluded = excluded or {[""] = true} local ret = mp.get_property_osd(prop) - if excluded[ret] then + if not ret or excluded[ret] then if o.debug then print("No value for property: " .. prop) end -- cgit v1.2.3