Skip to content

Commit 0dabfbe

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Wiki hotkey (F1) not working correctly on Relic Items (#8609)
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 Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 5454605 commit 0dabfbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)