Mercurial > wow > mailopener
comparison Modules/OpenAll.lua @ 27:ab08403f8316
The opener will no longer lock when a mailbox refresh happens while opening.
| author | Zerotorescue |
|---|---|
| date | Thu, 09 Sep 2010 22:10:59 +0200 |
| parents | fb952805d8b7 |
| children | d52e64bd048f |
comparison
equal
deleted
inserted
replaced
| 26:e64ee275bf09 | 27:ab08403f8316 |
|---|---|
| 602 inventoryFull = false; | 602 inventoryFull = false; |
| 603 -- Replay sound | 603 -- Replay sound |
| 604 inventoryFullSoundPlayed = nil; | 604 inventoryFullSoundPlayed = nil; |
| 605 end | 605 end |
| 606 | 606 |
| 607 if MailAddonBusy == MailOpener:GetName() then | |
| 608 MailAddonBusy = nil; | |
| 609 end | |
| 610 | |
| 607 -- Reset opener position | 611 -- Reset opener position |
| 608 MAIL_ITEM_INDEX = 0; | 612 MAIL_ITEM_INDEX = 0; |
| 609 -- Stopped opening, so allow to continue | 613 -- Stopped opening, so allow to continue |
| 610 continue = true; | 614 continue = true; |
| 615 | |
| 611 self:SetOpeningStatus(false); | 616 self:SetOpeningStatus(false); |
| 612 end | 617 end |
| 613 | 618 |
| 614 function OpenAll:SetOpeningStatus(openingStatus) | 619 function OpenAll:SetOpeningStatus(openingStatus) |
| 615 opening = openingStatus; | 620 opening = openingStatus; |
