home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124e135
)
Remove filter-TODO now fulfilled directly in parser.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 5 Dec 2020 11:06:22 +0000
(12:06 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 5 Dec 2020 11:06:22 +0000
(12:06 +0100)
plomrogue/commands.py
patch
|
blob
|
history
diff --git
a/plomrogue/commands.py
b/plomrogue/commands.py
index f2e479e17cc0bfbecac54c8f485f9e1d8ddfcb3f..dc2e6ead099deb9c2a873f93e3309bd327d7d464 100644
(file)
--- a/
plomrogue/commands.py
+++ b/
plomrogue/commands.py
@@
-36,7
+36,6
@@
def cmd_SPAWN_POINT(game, big_yx, little_yx):
cmd_SPAWN_POINT.argtypes = 'yx_tuple yx_tuple:nonneg'
def cmd_LOGIN(game, nick, connection_id):
- # TODO filter newlines
for t in [t for t in game.things if t.type_ == 'Player' and t.name == nick]:
raise GameError('name already in use')
if game.get_player(connection_id):