assign clients to the end of the lobby by default

- this should help catch bugs where client/leader ids aren't set properly
This commit is contained in:
Martin Michelsen
2019-06-21 18:35:00 -07:00
parent c2ebd4e0eb
commit 9ec52f399a
2 changed files with 24 additions and 13 deletions
+1
View File
@@ -67,6 +67,7 @@ struct Lobby {
void reassign_leader_on_client_departure_locked(size_t leaving_client_id);
size_t count_clients() const;
size_t count_clients_locked() const;
bool any_client_loading() const;
void add_client(std::shared_ptr<Client> c);