From cef4c371e71b6d5f4598cda0faed55bd03c0dae1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 27 Dec 2020 13:34:51 +0100 Subject: [PATCH] Only send server intro message to logged-in user. --- plomrogue/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue/game.py b/plomrogue/game.py index d51c832..e7bc730 100755 --- a/plomrogue/game.py +++ b/plomrogue/game.py @@ -365,7 +365,7 @@ class Game(GameBase): self.io.send('PLAYER_ID %s' % t.id_, connection_id) self.io.send('LOGIN_OK', connection_id) for msg in self.intro_messages: - self.io.send('CHAT ' + quote(msg)) + self.io.send('CHAT ' + quote(msg), connection_id) self.io.send('CHAT ' + quote(t.name + ' entered the map.')) for s in [s for s in self.things if s.type_ == 'SpawnPoint' and s.name == t.name]: -- 2.30.2