Match sv_enableBounces dvar flags

This commit is contained in:
FutureRave 2021-11-29 18:36:23 +00:00
parent bf9ea14333
commit a54d83945d
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -42,8 +42,7 @@ namespace Components
Dvar::OnInit([]
{
Elevators::SV_DisableElevators = Game::Dvar_RegisterBool("sv_disableElevators",
false, Game::DVAR_FLAG_CHEAT | Game::DVAR_FLAG_REPLICATED,
"Disable elevators");
false, Game::DVAR_FLAG_REPLICATED, "Disable elevators");
});
// Hook PM_GroundTrace so me way skip PM_CorrectAllSolid (disable elevators)