Mercurial > wow > reaction
comparison modules/ReAction_PetAction/ReAction_PetAction.lua @ 56:88283658fec4
cleanup string concat occurrences
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Fri, 25 Apr 2008 23:40:03 +0000 |
parents | 7e09c02ae620 |
children | 7430a8dd4e90 |
comparison
equal
deleted
inserted
replaced
55:54308b48123c | 56:88283658fec4 |
---|---|
205 local function Constructor( self, bar, idx, config ) | 205 local function Constructor( self, bar, idx, config ) |
206 self.bar, self.idx, self.config = bar, idx, config | 206 self.bar, self.idx, self.config = bar, idx, config |
207 | 207 |
208 local barFrame = bar:GetFrame() | 208 local barFrame = bar:GetFrame() |
209 | 209 |
210 local name = config.name or "ReAction_"..bar:GetName().."_Pet_"..idx | 210 local name = config.name or ("ReAction_%s_Pet_%d"):format(bar:GetName(),idx) |
211 config.name = name | 211 config.name = name |
212 self.name = config.name | 212 self.name = config.name |
213 config.actionID = ActionIDList[config.actionID] -- gets a free one if none configured | 213 config.actionID = ActionIDList[config.actionID] -- gets a free one if none configured |
214 | 214 |
215 -- have to recycle frames with the same name: | 215 -- have to recycle frames with the same name: |