aboutsummaryrefslogtreecommitdiffhomepage
path: root/player
diff options
context:
space:
mode:
authorGravatar Julian <MyFakeAcc.4@googlemail.com>2016-07-17 18:46:59 +0900
committerGravatar wm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit9b439e945368e4ea6c6666e7038872d5340a05f7 (patch)
treee38ccd414319aa6406dea1a772f39dd38ca64940 /player
parent4ee669e4db8f026c26286c2ad9e463b2bd63c8c2 (diff)
stats: only print graphs when ASS tags are good
Diffstat (limited to 'player')
-rw-r--r--player/lua/stats.lua2
1 files changed, 1 insertions, 1 deletions
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