diff options
| author | troido <troido@protonmail.com> | 2020-03-06 10:47:17 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-06 10:47:17 +0100 |
| commit | c9366616079240cd7ee3d243c9f6897d40b4267d (patch) | |
| tree | da9ea3ad636d8173d0c568389114184a3eb413fd /asciifarm/client/gameclient.py | |
| parent | dd3259e53edc119a8bd6d713cd49df240b19bff1 (diff) | |
| parent | eb029f8d0241449d64e237a1d689200a0a741b72 (diff) | |
Merge remote-tracking branch 'origin/ecs'
Diffstat (limited to 'asciifarm/client/gameclient.py')
| -rw-r--r-- | asciifarm/client/gameclient.py | 3 |
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] |
