From 8516b04c1e5c9e6d2576ec06b9637a5ca4dfd7ca Mon Sep 17 00:00:00 2001 From: Loudrob Date: Sun, 29 Mar 2015 10:47:36 -0400 Subject: [PATCH] amateur hour --- config/general.prc | 2 +- otp/friends/PlayerFriendsManager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/general.prc b/config/general.prc index adfc8f04..15b3864a 100644 --- a/config/general.prc +++ b/config/general.prc @@ -81,7 +81,7 @@ want-donald-dock #t want-daisy #t want-minnie #t want-pluto #t -want-donald-dreamland #t +want-donald-dreamland #f want-chip-and-dale #t want-goofy #t diff --git a/otp/friends/PlayerFriendsManager.py b/otp/friends/PlayerFriendsManager.py index 7c045806..f1d83e53 100644 --- a/otp/friends/PlayerFriendsManager.py +++ b/otp/friends/PlayerFriendsManager.py @@ -251,7 +251,7 @@ class PlayerFriendsManager(DistributedObjectGlobal): return returnList def identifyAvatar(self, doId): - if base.cr.doId2do.has_key(doId) + if base.cr.doId2do.has_key(doId): return base.cr.doId2do[doId] else: return self.identifyFriend(doId)