From f02ff13c21cd105d833131fca2939a52cfb40385 Mon Sep 17 00:00:00 2001 From: troido Date: Thu, 9 Apr 2020 18:28:58 +0200 Subject: properly log world messages --- asciifarmclient/gameclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]: -- cgit