fix DC NTE lobby interactions

This commit is contained in:
Martin Michelsen
2023-11-16 23:22:26 -08:00
parent 9cbcd09be0
commit 132395a53a
6 changed files with 218 additions and 76 deletions
+1 -1
View File
@@ -2878,7 +2878,7 @@ static void on_61_98(shared_ptr<Client> c, uint16_t command, uint32_t flag, stri
default:
throw logic_error("player data command not implemented for version");
}
player->inventory.decode_for_version(c->version());
player->inventory.decode_from_client(c);
c->channel.language = player->inventory.language;
string name_str = player->disp.name.decode(c->language());