Set admin only debug coords default true (#17811)

* Hide debug coordinates for non-admins

* Added server cvar

* Switched default setting to hide coords
This commit is contained in:
Errant
2023-07-04 07:30:57 +00:00
committed by GitHub
parent 6d8b701d41
commit 108236aab3

View File

@@ -289,7 +289,7 @@ namespace Content.Shared.CCVar
/// Whether or not coordinates on the Debug overlay should only be available to admins.
/// </summary>
public static readonly CVarDef<bool> DebugCoordinatesAdminOnly =
CVarDef.Create("game.debug_coordinates_admin_only", false, CVar.SERVER | CVar.REPLICATED);
CVarDef.Create("game.debug_coordinates_admin_only", true, CVar.SERVER | CVar.REPLICATED);
#if EXCEPTION_TOLERANCE
/// <summary>