From e5e729b743939ec330a1a8c477c64947b8a037dd Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 5 Dec 2013 08:19:34 +0000 Subject: [PATCH] G/C auras in the state machine for each new frame. There aren't that many to G/C from frame to frame and it keeps the state aura table under control. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1240 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index eec5840..276b121 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -614,8 +614,8 @@ end -- Reset the state to the current conditions. function OvaleAura:ResetState(state) - -- Periodically garbage-collect auras in the state machine. - if not Ovale.enCombat and state.serial % 1000 then + -- Garbage-collect auras in the state machine. + if not Ovale.enCombat then self:CleanState(state) end state.serial = state.serial + 1 -- 1.7.9.5