comparison Modules/OpenAll.lua @ 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 ab08403f8316
children 90d58723ac0a
comparison
equal deleted inserted replaced
28:54cf9c500889 29:d52e64bd048f
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
611 -- Reset opener position 607 -- Reset opener position
612 MAIL_ITEM_INDEX = 0; 608 MAIL_ITEM_INDEX = 0;
613 -- Stopped opening, so allow to continue 609 -- Stopped opening, so allow to continue
614 continue = true; 610 continue = true;
615
616 self:SetOpeningStatus(false); 611 self:SetOpeningStatus(false);
617 end 612 end
618 613
619 function OpenAll:SetOpeningStatus(openingStatus) 614 function OpenAll:SetOpeningStatus(openingStatus)
620 opening = openingStatus; 615 opening = openingStatus;