Fix red dots

This commit is contained in:
Federico Cecchetto 2022-05-31 19:47:01 +02:00
parent 8f074c26cb
commit 3f30d20044
2 changed files with 2 additions and 5 deletions

View File

@ -227,9 +227,6 @@ namespace patches
// disable codPointStore
dvars::override::register_int("codPointStore_enabled", 0, 0, 0, game::DVAR_FLAG_NONE);
// don't register every replicated dvar as a network dvar
utils::hook::nop(0x47408E_b, 5); // dvar_foreach
// patch "Server is different version" to show the server client version
utils::hook::inject(0x54DCE5_b, VERSION);

View File

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