From 1aa33d0db6aa78a6441e26aa1f0f1422c8a782f0 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 2 Jan 2018 13:22:37 +0100 Subject: [PATCH] mail icon fix --- Mail.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Mail.lua b/Mail.lua index 437d78d..1cac1d0 100644 --- a/Mail.lua +++ b/Mail.lua @@ -45,13 +45,6 @@ function MAIL_CLOSED() Inbox_Abort() SendMail_sending = false SendMail_Clear() - - -- Hides the minimap unread mail button if there are no unread mail on closing the mailbox. - -- Does not scan past the first 50 items since only the first 50 are viewable. - for i = 1, GetInboxNumItems() do - if not ({GetInboxHeaderInfo(i)})[9] then return end - end - MiniMapMailFrame:Hide() end do @@ -273,6 +266,7 @@ end do local TakeInboxMoney, TakeInboxItem, DeleteInboxItem = TakeInboxMoney, TakeInboxItem, DeleteInboxItem -- hack to prevent beancounter from deleting mail function Inbox_Open(i) + GetInboxText(i) TakeInboxMoney(i) TakeInboxItem(i) DeleteInboxItem(i)