From 6a4c90d45fba10b0a1775f033a263668ff788fb4 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 6 Jun 2014 21:12:54 +0000 Subject: [PATCH] Re-compile script if spells change based on stance. This fixes a bug introduced in r1365 for 5.4.9 when SpellInfo syntax was extended to allow "!" to represent "not". git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1521 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCompile.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/OvaleCompile.lua b/OvaleCompile.lua index 57325c0..94862de 100644 --- a/OvaleCompile.lua +++ b/OvaleCompile.lua @@ -202,6 +202,7 @@ local function TestConditions(paramList) end end if boolean and paramList.if_stance then + self_compileOnStances = true local stance, requireStance = RequireValue(paramList.if_stance) local isStance = OvaleStance:IsStance(stance) if (requireStance and not isStance) or (not requireStance and isStance) then -- 1.7.9.5