Mercurial > wow > reaction
comparison Button.lua @ 282:7a9e82c0df15
Show empty totem buttons in config mode when character doesn't have totems
author | Flick |
---|---|
date | Wed, 11 May 2011 17:21:04 -0700 |
parents | 5b9c0164a491 |
children | e337b39dc491 |
comparison
equal
deleted
inserted
replaced
281:2098dba4baf5 | 282:7a9e82c0df15 |
---|---|
235 end | 235 end |
236 end | 236 end |
237 end | 237 end |
238 if id == nil then | 238 if id == nil then |
239 if unique then | 239 if unique then |
240 ReAction:UserError(("All action IDs for bars of type '%s' are in use, cannot create any more buttons"):format(self.barType)) | 240 ReAction:UserError(L["All action IDs for bars of type '%s' are in use, cannot create any more buttons"]:format(self.barType)) |
241 error(nil) -- no error message, user has already been notified, so don't put in Lua error handler | 241 error(nil) -- no error message, user has already been notified, so don't put in Lua error handler |
242 end | 242 end |
243 pool.nWraps = nWraps + 1 | 243 pool.nWraps = nWraps + 1 |
244 end | 244 end |
245 until id ~= nil | 245 until id ~= nil |