diff modules/ReAction_PetAction/ReAction_PetAction.lua @ 85:913857b7e123

Changed format of button frame names
author Flick <flickerstreak@gmail.com>
date Fri, 27 Jun 2008 18:40:06 +0000
parents 42ec2938d65a
children fc83b3f5b322
line wrap: on
line diff
--- a/modules/ReAction_PetAction/ReAction_PetAction.lua	Fri Jun 27 18:39:34 2008 +0000
+++ b/modules/ReAction_PetAction/ReAction_PetAction.lua	Fri Jun 27 18:40:06 2008 +0000
@@ -198,7 +198,7 @@
   self = setmetatable( { }, { __index = Button } )
   self.bar, self.idx, self.config = bar, idx, config
 
-  local name = config.name or ("ReAction_%s_Pet_%d"):format(bar:GetName(),idx)
+  local name = config.name or ("ReAction_%s_%s_%d"):format(bar:GetName(),moduleID,idx)
   config.name = name
   self.name = name
   config.actionID = ActionIDList[config.actionID] -- gets a free one if none configured