Mercurial > wow > reaction
changeset 278:3dcfc0aad875
Pet action button needs name for auxiliary frames
author | Flick |
---|---|
date | Wed, 11 May 2011 15:13:38 -0700 |
parents | 4e325f1ea6e1 |
children | b3c01452d395 |
files | PetActionButton.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/PetActionButton.lua Wed May 11 11:27:36 2011 -0700 +++ b/PetActionButton.lua Wed May 11 15:13:38 2011 -0700 @@ -81,6 +81,8 @@ function Pet:New( config, bar, idx, idHint ) self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) + local fname = self:GetFrame():GetName() + local f = self:GetFrame() if not f.autoCastTexture then -- store autocast stuff with the frame for recycling