Mercurial > wow > reaction
comparison ReAction.lua @ 243:0ea0cdd7f386
fix silly drycoding errors
| author | Flick |
|---|---|
| date | Sat, 26 Mar 2011 11:31:01 -0700 |
| parents | b56cff349bd6 |
| children | 47818b3938c9 |
comparison
equal
deleted
inserted
replaced
| 242:b56cff349bd6 | 243:0ea0cdd7f386 |
|---|---|
| 130 self:SetKeybindMode(false) | 130 self:SetKeybindMode(false) |
| 131 self:CloseEditor() | 131 self:CloseEditor() |
| 132 end | 132 end |
| 133 end | 133 end |
| 134 | 134 |
| 135 function module:UPDATE_SHAPESHIFT_FORMS() | 135 function ReAction:UPDATE_SHAPESHIFT_FORMS() |
| 136 -- Re-parse the rules table according to the new form list. | 136 -- Re-parse the rules table according to the new form list. |
| 137 -- This happens both at initial login (after PLAYER_ENTERING_WORLD) | 137 -- This happens both at initial login (after PLAYER_ENTERING_WORLD) |
| 138 -- as well as when gaining new abilities. | 138 -- as well as when gaining new abilities. |
| 139 ReAction.Bar:InitRuleFormats() | 139 self.Bar:InitRuleFormats() |
| 140 for _, bar in self:IterateBars() do | 140 for _, bar in self:IterateBars() do |
| 141 bar:ApplyStates() | 141 bar:ApplyStates() |
| 142 end | 142 end |
| 143 end | 143 end |
| 144 | 144 |
