Mercurial > wow > degaine
diff Degaine.lua @ 26:dd1ef3996d7f v1.0beta4
Small change in UNIT_AURA
author | contrebasse |
---|---|
date | Fri, 10 Dec 2010 21:42:27 +0100 |
parents | 3b1123f50be4 ddcb7021838b |
children | a91e7552c682 |
line wrap: on
line diff
--- a/Degaine.lua Fri Dec 10 21:39:48 2010 +0100 +++ b/Degaine.lua Fri Dec 10 21:42:27 2010 +0100 @@ -99,8 +99,8 @@ wasMounted = true else if wasMounted then + wasMounted = false start() - wasMounted = false end end end @@ -250,9 +250,11 @@ t_lastGossipClosed = GetTime() elseif event == "PLAYER_REGEN_ENABLED" then - desactivate() + for k,_ in pairs(events1player) do DegaineFrame:UnregisterEvent(k) end + --desactivate() elseif event == "PLAYER_REGEN_DISABLED" then - activate() + for k,_ in pairs(events1player) do DegaineFrame:RegisterEvent(k) end + --activate() elseif event == "ADDON_LOADED" and arg1==AddonName then if Degaine_isAuto==nil then