summaryrefslogtreecommitdiffstats
path: root/player/lua/stats.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua/stats.lua')
-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