]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix admins unable to hide the coordinates debug monitor (#24084)
authorKot <1192090+koteq@users.noreply.github.com>
Sun, 14 Jan 2024 16:37:29 +0000 (20:37 +0400)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 16:37:29 +0000 (17:37 +0100)
Allow admins to hide the coords monitor

Content.Client/DebugMon/DebugMonitorSystem.cs

index c64e111b659929cab3d15ab31a637dee42acb842..fb5cd4f51a4a3c1ecee5663d9af3b0e999e5f92b 100644 (file)
@@ -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
+}