diff options
| author | troido <troido@protonmail.com> | 2019-10-16 00:19:03 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2019-10-16 00:19:03 +0200 |
| commit | eb029f8d0241449d64e237a1d689200a0a741b72 (patch) | |
| tree | da9ea3ad636d8173d0c568389114184a3eb413fd /asciifarm | |
| parent | 34d65f07de1f9364c176fea85a33bea3a51bb273 (diff) | |
notifications are now passed though listen instead of events
Diffstat (limited to 'asciifarm')
| -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] |
