Skip to content

Commit 5746163

Browse files
author
LocalIdentity
committed
Fix Wiki hotkey (F1) not working correctly on Relic Items
The Unique item check wasn't being made for relic uniques so it would bring you to the item base page instead of the unique item page
1 parent b19fb14 commit 5746163

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/ItemTools.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ itemLib.wiki = {
152152
itemLib.wiki.open(name)
153153
end,
154154
openItem = function(item)
155-
local name = item.rarity == "UNIQUE" and item.title or item.baseName
155+
local name = (item.rarity == "UNIQUE" or item.rarity == "RELIC") and item.title or item.baseName
156156

157157
itemLib.wiki.open(name)
158158
end,

0 commit comments

Comments
 (0)