Mercurial > wow > degaine
changeset 22:ddcb7021838b
... and reenable spells only when out of combat again
author | contrebasse |
---|---|
date | Fri, 10 Dec 2010 20:07:03 +0100 |
parents | e3f92fae450b |
children | dd1ef3996d7f |
files | Degaine.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Degaine.lua Fri Dec 10 20:05:58 2010 +0100 +++ b/Degaine.lua Fri Dec 10 20:07:03 2010 +0100 @@ -210,7 +210,8 @@ 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