Add checkbox for toggle walking (#20926)

Co-authored-by: onoira <onoira@psiko.zone>
LGTM!
This commit is contained in:
Keiku
2023-10-18 22:59:00 +02:00
committed by GitHub
parent 9741aaa5c1
commit 7b4ceb9d0c
3 changed files with 65 additions and 0 deletions

View File

@@ -1617,6 +1617,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<float> DragDropDeadZone =
CVarDef.Create("control.drag_dead_zone", 12f, CVar.CLIENTONLY | CVar.ARCHIVE);
/// <summary>
/// Toggles whether the walking key is a toggle or a held key.
/// </summary>
public static readonly CVarDef<bool> ToggleWalk =
CVarDef.Create("control.toggle_walk", false, CVar.CLIENTONLY | CVar.ARCHIVE);
/*
* UPDATE
*/