# HG changeset patch # User Flick # Date 1301164261 25200 # Node ID 0ea0cdd7f38664e3612c9e2ba236fbec823e5889 # Parent b56cff349bd615c234c31cb3e440fc45f1784ebe fix silly drycoding errors diff -r b56cff349bd6 -r 0ea0cdd7f386 ReAction.lua --- 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 diff -r b56cff349bd6 -r 0ea0cdd7f386 classes/State.lua --- 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"