undo battle table fast loading change

This commit is contained in:
Martin Michelsen
2023-10-02 16:58:14 -07:00
parent d90fc2a543
commit 37c4cbd8f3
2 changed files with 88 additions and 27 deletions
+2
View File
@@ -109,6 +109,8 @@ struct Lobby : public std::enable_shared_from_this<Lobby> {
uint32_t flags;
std::shared_ptr<const Quest> quest;
std::array<std::shared_ptr<Client>, 12> clients;
// Keys in this map are client_id
std::unordered_map<size_t, std::weak_ptr<Client>> clients_to_add;
Lobby(std::shared_ptr<ServerState> s, uint32_t id);
Lobby(const Lobby&) = delete;