Mercurial > wow > reaction
comparison Button.lua @ 288:d931fa418e17
Merge LBF fix to default
author | Flick |
---|---|
date | Fri, 01 Jul 2011 14:32:17 -0700 |
parents | 7a9e82c0df15 |
children | e337b39dc491 |
comparison
equal
deleted
inserted
replaced
287:0ea325e616ab | 288:d931fa418e17 |
---|---|
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 |