mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
DANIEL: Remove true friends
This commit is contained in:
parent
7a9da93d39
commit
cb1ffd8c16
2 changed files with 2 additions and 1 deletions
|
@ -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 = {}
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue