From: Kot <1192090+koteq@users.noreply.github.com> Date: Sun, 14 Jan 2024 16:37:29 +0000 (+0400) Subject: Fix admins unable to hide the coordinates debug monitor (#24084) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=620074ab0ac9261d6c7f67f7944658575115a12d;p=space-station-14.git Fix admins unable to hide the coordinates debug monitor (#24084) Allow admins to hide the coords monitor --- 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 +}