From 79ec28a5446327795a71de372f909a68934be034 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 15 Sep 2004 20:34:42 +0000 Subject: [PATCH] support onscreen system whispers --- direct/src/distributed/ClientRepository.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/ClientRepository.py b/direct/src/distributed/ClientRepository.py index 431df91e86..e95c00bdde 100644 --- a/direct/src/distributed/ClientRepository.py +++ b/direct/src/distributed/ClientRepository.py @@ -343,7 +343,9 @@ class ClientRepository(ConnectionRepository.ConnectionRepository): def handleSystemMessage(self, di): # Got a system message from the server. message = di.getString() - ClientRepository.notify.info('Message from server: %s' % (message)) + self.notify.info('Message from server: %s' % (message)) + + return message def handleUnexpectedMsgType(self, msgType, di): if msgType == CLIENT_GO_GET_LOST: