Match sv_enableBounces dvar flags
This commit is contained in:
parent
bf9ea14333
commit
a54d83945d
@ -42,8 +42,7 @@ namespace Components
|
|||||||
Dvar::OnInit([]
|
Dvar::OnInit([]
|
||||||
{
|
{
|
||||||
Elevators::SV_DisableElevators = Game::Dvar_RegisterBool("sv_disableElevators",
|
Elevators::SV_DisableElevators = Game::Dvar_RegisterBool("sv_disableElevators",
|
||||||
false, Game::DVAR_FLAG_CHEAT | Game::DVAR_FLAG_REPLICATED,
|
false, Game::DVAR_FLAG_REPLICATED, "Disable elevators");
|
||||||
"Disable elevators");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Hook PM_GroundTrace so me way skip PM_CorrectAllSolid (disable elevators)
|
// Hook PM_GroundTrace so me way skip PM_CorrectAllSolid (disable elevators)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user