# HG changeset patch # User Zerotorescue # Date 1284063341 -7200 # Node ID d52e64bd048f8a6fadcf561266a2be2f36ec32d1 # Parent 54cf9c5008891420319bfbc5873b4b4e1cc9e7ec Moved previous fix to a more logic place in the code. diff -r 54cf9c500889 -r d52e64bd048f .hgtags --- 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 diff -r 54cf9c500889 -r d52e64bd048f Core.lua --- 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; diff -r 54cf9c500889 -r d52e64bd048f Modules/OpenAll.lua --- 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