diff --git a/src/Lobby.cc b/src/Lobby.cc index ea5330ce..740438a5 100644 --- a/src/Lobby.cc +++ b/src/Lobby.cc @@ -153,7 +153,7 @@ void Lobby::add_client(shared_ptr c, ssize_t required_client_id) { this->clients[required_client_id] = c; index = required_client_id; - } else if (c->config.check_flag(Client::Flag::DEBUG_ENABLED)) { + } else if (c->config.check_flag(Client::Flag::DEBUG_ENABLED) && (this->mode != GameMode::SOLO)) { for (index = max_clients - 1; index >= min_client_id; index--) { if (!this->clients[index].get()) { this->clients[index] = c;