From 9b439e945368e4ea6c6666e7038872d5340a05f7 Mon Sep 17 00:00:00 2001 From: Julian Date: Sun, 17 Jul 2016 18:46:59 +0900 Subject: stats: only print graphs when ASS tags are good --- player/lua/stats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/stats.lua b/player/lua/stats.lua index de1ecf9d77..1cc526b992 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -197,7 +197,7 @@ local function append_perfdata(s) local rsuffix, psuffix, usuffix - if o.plot_graphs and timer:is_enabled() then + if o.plot_graphs and o.ass_formatting and timer:is_enabled() then local max = {1, 1, 1} for e = 1, plen do if plast[1][e] and plast[1][e] > max[1] then max[1] = plast[1][e] end -- cgit v1.2.3