X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=plomrogue%2Fcommands.py;h=c25740bd98f93d174b6f4312147abfa448761052;hb=6cb3a857a09ae974bf0f510dfa94fb19fba2ce31;hp=94d1c591045dcee8ffbdbcf0f7dd0ab5b5186efa;hpb=b72c8aea9efa8005534e6cef7e8f8fae5cf0918e;p=plomrogue2 diff --git a/plomrogue/commands.py b/plomrogue/commands.py index 94d1c59..c25740b 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -79,7 +79,7 @@ def cmd_LOGIN(game, nick, connection_id): t = game.thing_types['Player'](game) t.position = game.spawn_point game.things += [t] # TODO refactor into Thing.__init__? - t.player_char = game.get_next_player_char() + t.thing_char = game.get_next_player_char() game.sessions[connection_id] = { 'thing_id': t.id_, 'status': 'player'