Mercurial > wow > reaction
comparison Button.lua @ 258:a7d2efb6ffc9 stable
Merge 1.1 beta 5 to stable
author | Flick |
---|---|
date | Tue, 12 Apr 2011 16:07:21 -0700 |
parents | 46b59a9ded76 |
children | c918ff9ac787 |
comparison
equal
deleted
inserted
replaced
257:920d17851a93 | 258:a7d2efb6ffc9 |
---|---|
231 end | 231 end |
232 end | 232 end |
233 end | 233 end |
234 if id == nil then | 234 if id == nil then |
235 if unique then | 235 if unique then |
236 return nil | 236 error(("All action IDs for bars of type '%s' are in use, cannot create any more buttons"):format(self.config.barType)) |
237 end | 237 end |
238 pool.nWraps = nWraps + 1 | 238 pool.nWraps = nWraps + 1 |
239 end | 239 end |
240 until id ~= nil | 240 until id ~= nil |
241 end | 241 end |