From 5c8e9e8072dd6cf810a771ac6790903b02839aa8 Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 24 Jul 2017 23:40:09 +0200 Subject: [PATCH] stats: change font weight of % sign as well Due to popular demand --- 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 7da2233e21..07bcc5bc4f 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -314,7 +314,7 @@ local function append_perfdata(s, dedicated_page) end -- Calculate font weight. 100 is minimum, 400 is normal, 700 bold, 900 is max local w = (700 * math.sqrt(i)) + 200 - return format("{\\b%d}%02d{\\b0}%%", w, i * 100) + return format("{\\b%d}%02d%%{\\b0}", w, i * 100) end s[#s+1] = format("%s%s%s%s{\\fs%s}%s{\\fs%s}", dedicated_page and "" or o.nl, dedicated_page and "" or o.indent,