From 90bcbe3b5c3abdbb9c7fd50eb8d5c7981459395f Mon Sep 17 00:00:00 2001 From: Fesiug Date: Sun, 12 Nov 2023 20:30:41 -0500 Subject: [PATCH] Fix caption text length --- gamemodes/benny/gamemode/modules/player/cl_hud.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/benny/gamemode/modules/player/cl_hud.lua b/gamemodes/benny/gamemode/modules/player/cl_hud.lua index babbd89..40a504b 100644 --- a/gamemodes/benny/gamemode/modules/player/cl_hud.lua +++ b/gamemodes/benny/gamemode/modules/player/cl_hud.lua @@ -664,7 +664,7 @@ hook.Add( "HUDPaint", "Benny_HUDPaint", function() if #caption.lines == 0 then captions[aaa] = nil end end for aaa, caption in SortedPairsByMemberValue(captions, "starttime", false) do - surface.SetFont("Benny_Caption_9") + surface.SetFont("Benny_Caption_9I") local tw = 0 for i, v in pairs( caption.lines ) do local repeater = ( v.repeated > 1 and (" (x" .. v.repeated .. ")") or "" )