home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
225d5b3
)
Only send PONG to connection_id that sent the PING.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Nov 2020 01:55:20 +0000
(
02:55
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Nov 2020 01:55:20 +0000
(
02:55
+0100)
new2/plomrogue/commands.py
patch
|
blob
|
history
diff --git
a/new2/plomrogue/commands.py
b/new2/plomrogue/commands.py
index bdf4824dcfa7325d6e8ef398ae78f04c91c035f7..a80731da48336af7db5dbd9359a00ad56a4ad05f 100644
(file)
--- 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):