Skip to content

Commit 0af1280

Browse files
committed
Update all actions when talents change
1 parent 87bf71f commit 0af1280

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

LibRangeCheck-3.0/LibRangeCheck-3.0.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,9 @@ function lib:CHARACTER_POINTS_CHANGED()
13861386
end
13871387

13881388
function lib:PLAYER_TALENT_UPDATE()
1389+
actionsInit = nil
13891390
self:scheduleInit()
1391+
lastUpdate = UpdateDelay
13901392
end
13911393

13921394
function lib:SPELLS_CHANGED()
@@ -1853,9 +1855,7 @@ function lib:activate()
18531855
frame:RegisterEvent("CVAR_UPDATE")
18541856
end
18551857

1856-
if isRetail or isCata then
1857-
frame:RegisterEvent("PLAYER_TALENT_UPDATE")
1858-
end
1858+
frame:RegisterEvent("PLAYER_TALENT_UPDATE")
18591859

18601860
local _, playerClass = UnitClass("player")
18611861
if playerClass == "MAGE" or playerClass == "SHAMAN" then

0 commit comments

Comments
 (0)