Fix admins unable to hide the coordinates debug monitor (#24084)

Allow admins to hide the coords monitor

(cherry picked from commit 620074ab0a)
This commit is contained in:
Kot
2024-01-26 22:50:09 +01:00
committed by Debug
parent af095b6cb5
commit df3e231c16
@@ -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);
}
}
}