Mercurial > wow > reaction
changeset 85:913857b7e123
Changed format of button frame names
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Fri, 27 Jun 2008 18:40:06 +0000 |
parents | 8119fbe25939 |
children | f32e2375e39b |
files | modules/ReAction_PetAction/ReAction_PetAction.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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