# HG changeset patch # User Flick # Date 1305156048 25200 # Node ID 2098dba4baf53eeb1df8feebd45a7f36b47db18d # Parent 5b9c0164a49172996bd90a31e825d555291be08e# Parent b3c01452d3952ecf21d839a0a28f6e12141b8cbf Merge diff -r 5b9c0164a491 -r 2098dba4baf5 PetActionButton.lua --- a/PetActionButton.lua Wed May 11 16:19:17 2011 -0700 +++ b/PetActionButton.lua Wed May 11 16:20:48 2011 -0700 @@ -81,6 +81,8 @@ function Pet:New( config, bar, idx, idHint ) self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) + local name = self:GetFrame():GetName() + local f = self:GetFrame() if not f.autoCastTexture then -- store autocast stuff with the frame for recycling