Fix caption text length

This commit is contained in:
Fesiug 2023-11-12 20:30:41 -05:00
parent 6b5c02823f
commit 90bcbe3b5c
1 changed files with 1 additions and 1 deletions

View File

@ -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 "" )