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'