fix dressing room overwriting level/exp

This commit is contained in:
Martin Michelsen
2022-09-04 00:21:33 -07:00
parent 764a930213
commit 425338877d
3 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -1941,7 +1941,7 @@ static void on_create_character_bb(shared_ptr<ServerState> s, shared_ptr<Client>
if (c->game_data.account()->newserv_flags & AccountFlag::IN_DRESSING_ROOM) {
try {
c->game_data.player()->disp.apply_preview(cmd.preview);
c->game_data.player()->disp.apply_dressing_room(cmd.preview);
} catch (const exception& e) {
string message = string_printf("$C6Character could not be modified:\n%s", e.what());
send_message_box(c, decode_sjis(message));