home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Register game commands and tasks outside of game module.
[plomrogue2-experiments]
/
new2
/
plomrogue
/
commands.py
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):