Mercurial > wow > reaction
changeset 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 |
files | classes/ActionButton.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/classes/ActionButton.lua Fri Apr 10 23:22:10 2009 +0000 +++ b/classes/ActionButton.lua Mon Apr 13 17:54:29 2009 +0000 @@ -231,8 +231,8 @@ f:SetAttribute("_childupdate-vehicle",nil) f:SetAttribute("action",c.actionID) -- so that Destroy releases the right one - if c.pageactions and #c.pageActions > 1 then - for i = 2, #c.pageActions do + if c.pageactions and #c.pageactions > 1 then + for i = 2, #c.pageactions do self:ReleaseActionID(c.pageactions[i]) self:ReleaseActionID(id) end