From 2789f376fe3d4825a26392f7f653c2b0837b6184 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Tue, 23 Oct 2012 03:08:34 +0000 Subject: [PATCH] Force a full compile if player gains new talents. New talents could mean new spells in the spellbook, so reprocess the entire script in case the new spells are referenced in the script. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@615 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleData.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OvaleData.lua b/OvaleData.lua index 9dcd7d2..9bd263c 100644 --- a/OvaleData.lua +++ b/OvaleData.lua @@ -272,9 +272,10 @@ function OvaleData:CHARACTER_POINTS_CHANGED() -- Ovale:Print("CHARACTER_POINTS_CHANGED") end -function OvaleData:PLAYER_TALENT_UPDATE() +function OvaleData:PLAYER_TALENT_UPDATE(event) + Ovale:debugPrint("compile", event) self:RemplirListeTalents() --- Ovale:Print("PLAYER_TALENT_UPDATE") + Ovale.needCompile = "full" end function OvaleData:UNIT_PET() -- 1.7.9.5