Do not run party discovery in zonebuilder

This commit is contained in:
Louvenarde 2024-02-10 11:06:39 +01:00
parent 6b780150a3
commit c067b099f1

View File

@ -193,6 +193,11 @@ namespace Components
Party::Party()
{
if (ZoneBuilder::IsEnabled())
{
return;
}
PartyEnable = Dvar::Register<bool>("party_enable", Dedicated::IsEnabled(), Game::DVAR_NONE, "Enable party system");
Dvar::Register<bool>("xblive_privatematch", true, Game::DVAR_INIT, "");