X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new2%2Fplomrogue%2Fcommands.py;h=8aec89b6583f3376e7acdeebf61fc12fd25e8c89;hb=59a3670b274793215fbea550d2ec7f90527ad53c;hp=88a5211245c5d22661c6e8ae4460efd5abb44121;hpb=c28b4f2c784509f2b620e672b6ad0be06de12afc;p=plomrogue2-experiments diff --git a/new2/plomrogue/commands.py b/new2/plomrogue/commands.py index 88a5211..8aec89b 100644 --- a/new2/plomrogue/commands.py +++ b/new2/plomrogue/commands.py @@ -23,7 +23,7 @@ def cmd_LOGIN(game, nick, connection_id): t.position = YX(game.map.size.y // 2, game.map.size.x // 2) game.things += [t] # TODO refactor into Thing.__init__? game.sessions[connection_id] = t.id_ - game.io.send('META ' + quote('you are now: ' + nick), connection_id) + game.io.send('LOGIN_OK ' + quote('you are now: ' + nick), connection_id) t.nickname = nick game.io.send('PLAYER_ID %s' % t.id_, connection_id) cmd_LOGIN.argtypes = 'string'