mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
support onscreen system whispers
This commit is contained in:
parent
3343d168e1
commit
79ec28a544
@ -343,7 +343,9 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
|
|||||||
def handleSystemMessage(self, di):
|
def handleSystemMessage(self, di):
|
||||||
# Got a system message from the server.
|
# Got a system message from the server.
|
||||||
message = di.getString()
|
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):
|
def handleUnexpectedMsgType(self, msgType, di):
|
||||||
if msgType == CLIENT_GO_GET_LOST:
|
if msgType == CLIENT_GO_GET_LOST:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user