DANIEL: Remove true friends

This commit is contained in:
John 2015-06-06 22:38:52 +03:00 committed by Loudrob
parent 7a9da93d39
commit cb1ffd8c16
2 changed files with 2 additions and 1 deletions

View file

@ -672,6 +672,7 @@ class ToontownClientRepository(OTPClientRepository.OTPClientRepository):
def removeFriend(self, avatarId): def removeFriend(self, avatarId):
self.ttsFriendsManager.d_removeFriend(avatarId) self.ttsFriendsManager.d_removeFriend(avatarId)
base.localAvatar.removeTrueFriends(avatarId)
def clearFriendState(self): def clearFriendState(self):
self.friendsMap = {} self.friendsMap = {}

View file

@ -222,7 +222,7 @@ class TTSFriendsManagerUD(DistributedObjectGlobalUD):
# -- Toon Online/Offline -- # -- Toon Online/Offline --
def toonOnline(self, doId, friendsList): def toonOnline(self, doId, friendsList):
if not doId in self.onlineToons: if doId not in self.onlineToons:
self.onlineToons.append(doId) self.onlineToons.append(doId)
channel = self.GetPuppetConnectionChannel(doId) channel = self.GetPuppetConnectionChannel(doId)