From 620074ab0ac9261d6c7f67f7944658575115a12d Mon Sep 17 00:00:00 2001 From: Kot <1192090+koteq@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:37:29 +0400 Subject: [PATCH] Fix admins unable to hide the coordinates debug monitor (#24084) Allow admins to hide the coords monitor --- Content.Client/DebugMon/DebugMonitorSystem.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Content.Client/DebugMon/DebugMonitorSystem.cs b/Content.Client/DebugMon/DebugMonitorSystem.cs index c64e111b65..fb5cd4f51a 100644 --- a/Content.Client/DebugMon/DebugMonitorSystem.cs +++ b/Content.Client/DebugMon/DebugMonitorSystem.cs @@ -19,7 +19,5 @@ public sealed class DebugMonitorSystem : EntitySystem { if (!_admin.IsActive() && _cfg.GetCVar(CCVars.DebugCoordinatesAdminOnly)) _userInterface.DebugMonitors.SetMonitor(DebugMonitor.Coords, false); - else - _userInterface.DebugMonitors.SetMonitor(DebugMonitor.Coords, true); } -} \ No newline at end of file +} -- 2.51.2