Skip to content

Commit 8fd5a18

Browse files
committed
Minor bugfix for Midnight which caused spec-specific hero spec nodes to be marked as visible for all specs that can access the hero spec
1 parent 9724f8c commit 8fd5a18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LibTalentTree-1.0.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ do
302302
-- some subtree nodes incorrectly suggest they are visible for all specs, so we just correct that
303303
if nodeInfo.subTreeID then
304304
for specID, _ in pairs(nodeInfo.visibleForSpecs) do
305-
nodeInfo.visibleForSpecs[specID] = cache.subTreeSpecMap[nodeInfo.subTreeID][specID] or false;
305+
nodeInfo.visibleForSpecs[specID] = nodeInfo.visibleForSpecs[specID] and cache.subTreeSpecMap[nodeInfo.subTreeID][specID] or false;
306306
end
307307
end
308308
end

LibTalentTree-1.0.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2-
..\FrameXML\UI.xsd">
2+
https://raw.githubusercontent.com/Gethe/wow-ui-source/refs/heads/live/Interface/AddOns/Blizzard_SharedXML/UI.xsd">
33
<Script file="LibTalentTree-1.0.lua"/>
44
</Ui>

0 commit comments

Comments
 (0)