Make pushing a toggle (#4330)

* Make pushing a toggle

* Review
This commit is contained in:
metalgearsloth
2021-07-25 16:58:11 +10:00
committed by GitHub
parent 29e335c54d
commit c9c6bd685b
2 changed files with 23 additions and 1 deletions

View File

@@ -181,6 +181,15 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<float> StopSpeed =
CVarDef.Create("physics.stop_speed", 0.1f);
/// <summary>
/// Whether mobs can push objects like lockers.
/// </summary>
/// <remarks>
/// Technically client doesn't need to know about it but this may prevent a bug in the distant future so it stays.
/// </remarks>
public static readonly CVarDef<bool> MobPushing =
CVarDef.Create("physics.mob_pushing", true, CVar.REPLICATED);
/*
* Ambience
*/