Mercurial > wow > reaction
comparison classes/ActionButton.lua @ 139:8b35239339c5
fixed typo on destroy action button
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Mon, 13 Apr 2009 17:54:29 +0000 |
| parents | 1f36187a94cf |
| children | 497936c503a0 |
comparison
equal
deleted
inserted
replaced
| 138:1f36187a94cf | 139:8b35239339c5 |
|---|---|
| 229 local c = self:GetConfig() | 229 local c = self:GetConfig() |
| 230 | 230 |
| 231 f:SetAttribute("_childupdate-vehicle",nil) | 231 f:SetAttribute("_childupdate-vehicle",nil) |
| 232 f:SetAttribute("action",c.actionID) -- so that Destroy releases the right one | 232 f:SetAttribute("action",c.actionID) -- so that Destroy releases the right one |
| 233 | 233 |
| 234 if c.pageactions and #c.pageActions > 1 then | 234 if c.pageactions and #c.pageactions > 1 then |
| 235 for i = 2, #c.pageActions do | 235 for i = 2, #c.pageactions do |
| 236 self:ReleaseActionID(c.pageactions[i]) | 236 self:ReleaseActionID(c.pageactions[i]) |
| 237 self:ReleaseActionID(id) | 237 self:ReleaseActionID(id) |
| 238 end | 238 end |
| 239 end | 239 end |
| 240 | 240 |
