Skip to content

Commit d790df4

Browse files
committed
Fix text and font on Relics
1 parent 5000412 commit d790df4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Classes/ItemsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2969,7 +2969,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode)
29692969
end
29702970

29712971
-- Show flavour text:
2972-
if item.rarity == "UNIQUE" then
2972+
if item.rarity == "UNIQUE" or item.rarity == "RELIC" then
29732973
local flavourTable = flavourLookup[item.title]
29742974
if flavourTable then
29752975
local flavour = nil

src/Classes/Tooltip.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ function TooltipClass:AddLine(size, text, font, background)
7272

7373
-- Default font for item tooltips
7474
if (self.tooltipHeader == "UNIQUE"
75+
or self.tooltipHeader == "RELIC"
7576
or self.tooltipHeader == "RARE"
7677
or self.tooltipHeader == "MAGIC"
7778
or self.tooltipHeader == "NORMAL"

0 commit comments

Comments
 (0)