Skip to content

Commit 27ca011

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Wiki hotkey (F1) not working correctly for relic items (#1142)
From PoB 1 PathOfBuildingCommunity/PathOfBuilding#8609 Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 5696105 commit 27ca011

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
@@ -351,7 +351,7 @@ itemLib.wiki = {
351351
itemLib.wiki.open(name)
352352
end,
353353
openItem = function(item)
354-
local name = item.rarity == "UNIQUE" and item.title or item.baseName
354+
local name = (item.rarity == "UNIQUE" or item.rarity == "RELIC") and item.title or item.baseName
355355

356356
itemLib.wiki.open(name)
357357
end,

0 commit comments

Comments
 (0)