Mercurial > wow > mailopener
changeset 29:d52e64bd048f v1.0.2
Moved previous fix to a more logic place in the code.
| author | Zerotorescue |
|---|---|
| date | Thu, 09 Sep 2010 22:15:41 +0200 |
| parents | 54cf9c500889 |
| children | 4ab03ed958ed |
| files | .hgtags Core.lua Modules/OpenAll.lua |
| diffstat | 3 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Thu Sep 09 22:11:46 2010 +0200 +++ b/.hgtags Thu Sep 09 22:15:41 2010 +0200 @@ -12,4 +12,3 @@ 3e4ed244c6ec87466d2919865692c1ecf352c8d4 v1.0 d633bf82328be105480365707e5ddf719bcc221d MailOpener v1.0 0000000000000000000000000000000000000000 MailOpener v1.0 -ab08403f8316aafa625229b1ec8691285d2f3132 v1.0.1
--- a/Core.lua Thu Sep 09 22:11:46 2010 +0200 +++ b/Core.lua Thu Sep 09 22:15:41 2010 +0200 @@ -385,6 +385,10 @@ -- Yell that we successfully synced with the server self:SendMessage("MO_SERVER_SYNCED"); + if MailAddonBusy == MailOpener:GetName() then + MailAddonBusy = nil; + end + -- This list is fresh freshList = true; mailboxEmptySoundPlayed = nil;
--- a/Modules/OpenAll.lua Thu Sep 09 22:11:46 2010 +0200 +++ b/Modules/OpenAll.lua Thu Sep 09 22:15:41 2010 +0200 @@ -604,15 +604,10 @@ inventoryFullSoundPlayed = nil; end - if MailAddonBusy == MailOpener:GetName() then - MailAddonBusy = nil; - end - -- Reset opener position MAIL_ITEM_INDEX = 0; -- Stopped opening, so allow to continue continue = true; - self:SetOpeningStatus(false); end
