summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asciifarmclient/gameclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asciifarmclient/gameclient.py b/asciifarmclient/gameclient.py
index edc3838..5f61c36 100644
--- a/asciifarmclient/gameclient.py
+++ b/asciifarmclient/gameclient.py
@@ -129,7 +129,7 @@ class Client:
if msgType == "ground":
self.display.setGround(msg[1])
if msgType == "message":
- type, text = msg[1][:2]
+ text, type = msg[1:3]
self.log(text, type)
if msgType == "messages":
for type, text in msg[1]: