X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=new2%2Fplomrogue%2Fcommands.py;h=352f40dc1af3a64e99564a7033f2fb8626422f3c;hb=90d7e8cdc98943e46ec9a3d8d2debf2886f793e2;hp=397dbe45f332aae29d22e6fba8671786496a4316;hpb=b28833357c0b67e6146e0ac568f5cfd6696f08cd;p=plomrogue2-experiments
diff --git a/new2/plomrogue/commands.py b/new2/plomrogue/commands.py
index 397dbe4..352f40d 100644
--- a/new2/plomrogue/commands.py
+++ b/new2/plomrogue/commands.py
@@ -18,6 +18,7 @@ def cmd_LOGIN(game, nick, connection_id):
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('PLAYER_ID %s' % t.id_, connection_id)
cmd_LOGIN.argtypes = 'string'
def cmd_QUERY(game, target_nick, msg, connection_id):