From f3ca3df3c0cd9fdd8c3721687b1b1df12824d411 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 17 Jul 2015 15:42:04 +0300 Subject: [PATCH] Fix family member display name in the mailbox --- toontown/catalog/MailboxScreen.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/toontown/catalog/MailboxScreen.py b/toontown/catalog/MailboxScreen.py index be613f79..6ffe231e 100755 --- a/toontown/catalog/MailboxScreen.py +++ b/toontown/catalog/MailboxScreen.py @@ -512,4 +512,11 @@ class MailboxScreen(DirectObject.DirectObject): def getSenderName(self, avId): sender = base.cr.identifyFriend(avId) - return sender.getName() if sender else TTLocalizer.MailboxGiftTagAnonymous + if sender: + return sender.getName() + + for av in base.cr.avList: + if av.id == avId: + return av.name + + return TTLocalizer.MailboxGiftTagAnonymous