From 54db04e1f22333dd7802153b5bffdad7d83b64cb Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 2 Jan 2016 18:36:01 +0100 Subject: [PATCH] Fix join error. --- src/Components/Modules/Party.cpp | 3 +++ src/Game/Functions.cpp | 2 ++ src/Game/Functions.hpp | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/Components/Modules/Party.cpp b/src/Components/Modules/Party.cpp index 7ff2b13a..3bf59727 100644 --- a/src/Components/Modules/Party.cpp +++ b/src/Components/Modules/Party.cpp @@ -81,6 +81,9 @@ namespace Components void Party::PlaylistContinue() { + // Ensure we can join + *Game::g_lobbyCreateInProgress = false; + Party::Container.AwaitingPlaylist = false; SteamID id = Party::GenerateLobbyId(); diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index afcad4f8..9c556656 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -119,6 +119,8 @@ namespace Game XBlock** g_streamBlocks = (XBlock**)0x16E554C; + bool* g_lobbyCreateInProgress = (bool*)0x66C9BC2; + void* ReallocateAssetPool(XAssetType type, unsigned int newSize) { int elSize = DB_GetXAssetSizeHandlers[type](); diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index eb9216cf..33a490a3 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -231,6 +231,8 @@ namespace Game extern XBlock** g_streamBlocks; + extern bool* g_lobbyCreateInProgress; + void* ReallocateAssetPool(XAssetType type, unsigned int newSize); void Menu_FreeItemMemory(Game::itemDef_t* item); void OOBPrintT(int type, netadr_t netadr, const char* message);