Quantcast

Fixed the code used to detect talent changes, should work correctly now

James Whitehead II [04-15-09 - 21:06]
Fixed the code used to detect talent changes, should work correctly now
Filename
Clique.lua
diff --git a/Clique.lua b/Clique.lua
index d6ad277..6389bfd 100644
--- a/Clique.lua
+++ b/Clique.lua
@@ -720,7 +720,7 @@ function Clique:ShowBindings()
 	CliqueTooltip:Show()
 end

-function Clique:PLAYER_TALENT_UPDATE(event, newGroup, prevGroup)
+function Clique:ACTIVE_TALENT_GROUP_CHANGED(event, newGroup, prevGroup)
     if self.db.char.switchSpec then
         self:Print("Detected a talent spec change, changing profile")
         if newGroup == 1 and self.db.char.primaryProfile then