fix invisible players in lobby bug

This commit is contained in:
Martin Michelsen
2023-08-30 18:45:13 -07:00
parent 50ded155ed
commit f642e2f5a8
-3
View File
@@ -480,9 +480,6 @@ static void on_change_area(shared_ptr<ServerState>,
shared_ptr<Lobby> l, shared_ptr<Client> c, uint8_t command, uint8_t flag,
const void* data, size_t size) {
const auto& cmd = check_size_t<CmdT>(data, size);
if (!l->is_game()) {
return;
}
c->area = cmd.area;
forward_subcommand(l, c, command, flag, data, size);
}