Mercurial > wow > reaction
comparison classes/StanceButton.lua @ 136:b8a14165b807
Small fix for stances not updating after options changed
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Wed, 18 Mar 2009 02:00:51 +0000 |
| parents | d186e041ca14 |
| children | 4c1b85ec40d2 |
comparison
equal
deleted
inserted
replaced
| 135:5c0591a31163 | 136:b8a14165b807 |
|---|---|
| 171 end | 171 end |
| 172 end | 172 end |
| 173 | 173 |
| 174 function Stance:Refresh() | 174 function Stance:Refresh() |
| 175 Super.Refresh(self) | 175 Super.Refresh(self) |
| 176 self:Update() | 176 self:UpdateAction() |
| 177 end | 177 end |
| 178 | 178 |
| 179 function Stance:Update() | 179 function Stance:Update() |
| 180 local texture, isActive, isCastable | 180 local texture, isActive, isCastable |
| 181 if playerClass == "HUNTER" then | 181 if playerClass == "HUNTER" then |
