mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Fix Hacker remove count limit when they use Admin panel (#538)
This commit is contained in:
1 parent
b012113cb6
commit
da67c1bffb
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user