diff --git a/direct/src/distributed/ClientRepositoryBase.py b/direct/src/distributed/ClientRepositoryBase.py index 8a836c04b0..9cac4aabf1 100644 --- a/direct/src/distributed/ClientRepositoryBase.py +++ b/direct/src/distributed/ClientRepositoryBase.py @@ -83,6 +83,7 @@ class ClientRepositoryBase(ConnectionRepository): return self.doId2do, self.cache def _getMsgName(self, msgId): + # we might get a list of message names, use the first one return makeList(MsgId2Names.get(msgId, 'UNKNOWN MESSAGE: %s' % msgId))[0] def sendDisconnect(self):