changeset 87:fe0bc2f32851 v41

changed event for talent switch
author yellowfive
date Fri, 02 Sep 2016 16:21:56 -0700
parents 12d0f853eca8
children b3ff336fad77
files AskMrRobot-Serializer/AskMrRobot-Serializer.lua AskMrRobot.toc Gear.lua
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Wed Aug 31 11:01:58 2016 -0700
+++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Fri Sep 02 16:21:56 2016 -0700
@@ -1,7 +1,7 @@
 -- AskMrRobot-Serializer will serialize and communicate character data between users.
 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com.
 
-local MAJOR, MINOR = "AskMrRobot-Serializer", 40
+local MAJOR, MINOR = "AskMrRobot-Serializer", 41
 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
 
 if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc	Wed Aug 31 11:01:58 2016 -0700
+++ b/AskMrRobot.toc	Fri Sep 02 16:21:56 2016 -0700
@@ -1,7 +1,7 @@
 ## Interface: 70000
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 40
+## Version: 41
 ## Notes: Gear import/export, combat logging, and more.
 ## URL: www.askmrrobot.com
 ## SavedVariables: AskMrRobotDb3
--- a/Gear.lua	Wed Aug 31 11:01:58 2016 -0700
+++ b/Gear.lua	Fri Sep 02 16:21:56 2016 -0700
@@ -756,7 +756,7 @@
 ]]
 
 function Amr:InitializeGear()
-	Amr:AddEventHandler("PLAYER_SPECIALIZATION_CHANGED", onActiveTalentGroupChanged)
+	Amr:AddEventHandler("ACTIVE_TALENT_GROUP_CHANGED", onActiveTalentGroupChanged)
 
 	--Amr:AddEventHandler("CHAT_MSG_CHANNEL", testfunc)