Skip to content

Commit

Permalink
Remove debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Aug 3, 2024
1 parent c5e9929 commit d610eff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions public/Jailbreak.Public/Utils/MapUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d610eff

Please sign in to comment.