From da67c1bffb845ef5d9e95ca482ffe1c953411aac Mon Sep 17 00:00:00 2001 From: TommyXL <104814436+Tommy-XL@users.noreply.github.com> Date: Sun, 29 Mar 2026 22:41:19 +0800 Subject: [PATCH] Fix Hacker remove count limit when they use Admin panel (#538) --- Patches/HudPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Patches/HudPatch.cs b/Patches/HudPatch.cs index 76585de22..c9f56b0f6 100644 --- a/Patches/HudPatch.cs +++ b/Patches/HudPatch.cs @@ -804,7 +804,7 @@ internal static class MapBehaviourShowPatch PlayerControl player = PlayerControl.LocalPlayer; - if (player.GetCustomRole() == CustomRoles.Hacker && Hacker.PlayerIdList.ContainsKey(player.PlayerId)) + if (player.GetCustomRole() == CustomRoles.Hacker && opts.Mode is not MapOptions.Modes.CountOverlay && Hacker.PlayerIdList.ContainsKey(player.PlayerId)) { Logger.Info("Modded Client uses Map", "Hacker"); Hacker.MapHandle(player, __instance, opts);