Fix Hacker remove count limit when they use Admin panel (#538)

This commit is contained in:
TommyXL authored and GitHub committed 2026-03-29 16:41:19 +02:00
1 parent b012113cb6
commit da67c1bffb
1 file changed
+1 -1
+1 -1
View File
@@ -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);