mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
Fix admins unable to hide the coordinates debug monitor (#24084)
Allow admins to hide the coords monitor (cherry picked from commit 620074ab0ac9261d6c7f67f7944658575115a12d)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user