Fix red dots
This commit is contained in:
parent
8f074c26cb
commit
3f30d20044
@ -227,9 +227,6 @@ namespace patches
|
|||||||
// disable codPointStore
|
// disable codPointStore
|
||||||
dvars::override::register_int("codPointStore_enabled", 0, 0, 0, game::DVAR_FLAG_NONE);
|
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
|
// patch "Server is different version" to show the server client version
|
||||||
utils::hook::inject(0x54DCE5_b, VERSION);
|
utils::hook::inject(0x54DCE5_b, VERSION);
|
||||||
|
|
||||||
|
@ -24,12 +24,12 @@ namespace ranked
|
|||||||
|
|
||||||
if (game::environment::is_mp())
|
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())
|
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
|
dvars::register_bool("force_ranking", true, game::DVAR_FLAG_WRITE, ""); // Skip some check in _menus.gsc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user