From 131e3c6e9a1808cef19a9085f060fe845a7b123d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 8 Nov 2020 02:55:20 +0100 Subject: [PATCH] Only send PONG to connection_id that sent the PING. --- new2/plomrogue/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new2/plomrogue/commands.py b/new2/plomrogue/commands.py index bdf4824..a80731d 100644 --- a/new2/plomrogue/commands.py +++ b/new2/plomrogue/commands.py @@ -53,7 +53,7 @@ def cmd_QUERY(game, target_nick, msg, connection_id): cmd_QUERY.argtypes = 'string string' def cmd_PING(game, connection_id): - game.io.send('PONG') + game.io.send('PONG', connection_id) cmd_PING.argtypes = '' def cmd_TURN(game, n): -- 2.30.2