From d610effa437d63a7f862cfe5c22c4661e5ab2e24 Mon Sep 17 00:00:00 2001 From: MSWS Date: Sat, 3 Aug 2024 05:29:56 -0700 Subject: [PATCH] Remove debugs --- public/Jailbreak.Public/Utils/MapUtil.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/public/Jailbreak.Public/Utils/MapUtil.cs b/public/Jailbreak.Public/Utils/MapUtil.cs index fc45aa0c..9f2bea35 100644 --- a/public/Jailbreak.Public/Utils/MapUtil.cs +++ b/public/Jailbreak.Public/Utils/MapUtil.cs @@ -23,12 +23,9 @@ public static bool OpenCells(IZoneManager zoneManager) { .GetAwaiter() .GetResult(); - Server.PrintToChatAll("Attempting to open cells..."); - if (zones == null || zones.Count == 0) { - Server.PrintToChatAll("No cell buttons found."); + if (zones == null || zones.Count == 0) return OpenCells() <= Sensitivity.TARGET_CELL; - } return OpenCells(Sensitivity.ANY, zones.First().GetCenterPoint()) != null; } @@ -85,8 +82,6 @@ public static bool OpenCells(IZoneManager zoneManager) { } private static void PressButton(CBaseEntity entity) { - Server.PrintToChatAll( - $"Pressing button {entity.Globalname} {entity.Target}"); entity.AcceptInput("Unlock", PlayerUtil.FromTeam(CsTeam.CounterTerrorist).FirstOrDefault()); entity.AcceptInput("Press",