Update ranked.cpp

This commit is contained in:
Federico Cecchetto 2022-05-31 21:03:58 +02:00
parent 189c13b14c
commit 14ac812807

View File

@ -24,12 +24,12 @@ namespace ranked
if (game::environment::is_mp())
{
dvars::override::register_bool("xblive_privatematch", false, 0);
dvars::override::register_bool("xblive_privatematch", false, game::DVAR_FLAG_REPLICATED);
}
if (game::environment::is_dedi())
{
dvars::override::register_bool("xblive_privatematch", false, game::DVAR_FLAG_WRITE);
dvars::override::register_bool("xblive_privatematch", false, game::DVAR_FLAG_REPLICATED | game::DVAR_FLAG_WRITE);
dvars::register_bool("force_ranking", true, game::DVAR_FLAG_WRITE, ""); // Skip some check in _menus.gsc
}