Skip to content

Commit 74f93a6

Browse files
committed
Fix a rare error (closes GH#10)
1 parent 395e2ab commit 74f93a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TalentTreeViewer_TWW/mixins/TalentViewerUIMixin.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ function TalentViewerUIMixin:AfterRankChange(nodeID)
476476
if subTreeID then
477477
RunNextFrame(function()
478478
local talentButton = self:GetTalentButtonByNodeID(nodeID);
479+
if not talentButton then return; end
479480
local isActive = self:GetActiveSubTreeID() == subTreeID;
480481
talentButton:UpdateSubTreeActiveVisual(isActive);
481482
end);

0 commit comments

Comments
 (0)