From e4b76a3d1fb283bc92d59e9a6450014e2f0e3456 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Thu, 2 Dec 2021 18:35:20 +0000 Subject: [PATCH] Remove random function call --- src/Components/Modules/Party.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Party.cpp b/src/Components/Modules/Party.cpp index 527f5b8b..4d7bc515 100644 --- a/src/Components/Modules/Party.cpp +++ b/src/Components/Modules/Party.cpp @@ -151,7 +151,7 @@ namespace Components Party::Party() { static Game::dvar_t* partyEnable = Dvar::Register("party_enable", Dedicated::IsEnabled(), Game::dvar_flag::DVAR_FLAG_NONE, "Enable party system").get(); - Dvar::Register("xblive_privatematch", true, Game::dvar_flag::DVAR_FLAG_WRITEPROTECTED, "").get(); + Dvar::Register("xblive_privatematch", true, Game::dvar_flag::DVAR_FLAG_WRITEPROTECTED, ""); // various changes to SV_DirectConnect-y stuff to allow non-party joinees Utils::Hook::Set(0x460D96, 0x90E9);