summaryrefslogtreecommitdiff
path: root/asciifarm/client/gameclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciifarm/client/gameclient.py')
-rw-r--r--asciifarm/client/gameclient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/asciifarm/client/gameclient.py b/asciifarm/client/gameclient.py
index 4013505..c0f702c 100644
--- a/asciifarm/client/gameclient.py
+++ b/asciifarm/client/gameclient.py
@@ -129,7 +129,8 @@ class Client:
if msgType == "ground":
self.display.setGround(msg[1])
if msgType == "message":
- self.log(*msg[1:])
+ type, text = msg[1][:2]
+ self.log(text, type)
if msgType == "options":
if msg[1] != None:
description, options = msg[1]