From 1c6d62f024f810d982dbf7307e29df2687bb90ee Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Sat, 16 Oct 2021 19:15:58 +0200 Subject: [PATCH] Fixed bulletpoint icons interfeering with inline icons of the same type --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 959f00b0..af73e117 100644 --- a/main.lua +++ b/main.lua @@ -359,7 +359,7 @@ function EID:printBulletPoints(description, renderPos) if i == 1 then local bpIcon = EID:handleBulletpointIcon(lineToPrint) if EID:getIcon(bpIcon) ~= EID.InlineIcons["ERROR"] then - lineToPrint = string.gsub(lineToPrint, bpIcon .. " ", "") + lineToPrint = string.gsub(lineToPrint, bpIcon .. " ", "", 1) textColor = EID:renderString(bpIcon, renderPos + Vector(-3 * EID.Config["Scale"], 0), textScale , textColor) else textColor = EID:renderString(bpIcon, renderPos, textScale , textColor)