Mercurial > wow > reaction
changeset 243:0ea0cdd7f386
fix silly drycoding errors
author | Flick |
---|---|
date | Sat, 26 Mar 2011 11:31:01 -0700 |
parents | b56cff349bd6 |
children | f255cd69e890 |
files | ReAction.lua classes/State.lua |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ReAction.lua Fri Mar 25 17:06:56 2011 -0700 +++ b/ReAction.lua Sat Mar 26 11:31:01 2011 -0700 @@ -132,11 +132,11 @@ end end -function module:UPDATE_SHAPESHIFT_FORMS() +function ReAction:UPDATE_SHAPESHIFT_FORMS() -- Re-parse the rules table according to the new form list. -- This happens both at initial login (after PLAYER_ENTERING_WORLD) -- as well as when gaining new abilities. - ReAction.Bar:InitRuleFormats() + self.Bar:InitRuleFormats() for _, bar in self:IterateBars() do bar:ApplyStates() end
--- a/classes/State.lua Fri Mar 25 17:06:56 2011 -0700 +++ b/classes/State.lua Sat Mar 26 11:31:01 2011 -0700 @@ -13,10 +13,10 @@ local RegisterStateDriver = RegisterStateDriver local tfetch = addonTable.tfetch local tbuild = addonTable.tbuild -local ApplyStates = Bar.ApplyStates -local CleanupStates = Bar.CleanupStates -local SetProperty = Bar.SetStateProperty -local GetProperty = Bar.GetStateProperty +local ApplyStates = ReAction.Bar.ApplyStates +local CleanupStates = ReAction.Bar.CleanupStates +local SetProperty = ReAction.Bar.SetStateProperty +local GetProperty = ReAction.Bar.GetStateProperty -- module declaration local moduleID = "State"