Revert "allow unranked servers"

This reverts commit 8c9ea13e62.
This commit is contained in:
Skull 2022-06-21 21:46:24 +03:00
parent c32e6c4e9c
commit 7e67b64e27

View File

@ -27,7 +27,7 @@ namespace ranked
dvars::override::register_bool("xblive_privatematch", false, game::DVAR_FLAG_REPLICATED); dvars::override::register_bool("xblive_privatematch", false, game::DVAR_FLAG_REPLICATED);
} }
if (game::environment::is_dedi() && !utils::flags::has_flag("unranked")) if (game::environment::is_dedi())
{ {
dvars::override::register_bool("xblive_privatematch", false, game::DVAR_FLAG_REPLICATED | 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 dvars::register_bool("force_ranking", true, game::DVAR_FLAG_WRITE, ""); // Skip some check in _menus.gsc