This commit is contained in:
Gurge44 committed 2026-06-11 20:12:11 +02:00
1 parent 66e6c4cf44
commit ebc86f2e2c
44 files changed
+347 -300

No files matched your search

+1 -1
View File
@@ -857,7 +857,7 @@ internal static class MapBehaviourShowPatch
PlayerControl player = PlayerControl.LocalPlayer;
if (player.GetCustomRole() == CustomRoles.Hacker && opts.Mode is not MapOptions.Modes.CountOverlay && Hacker.PlayerIdList.ContainsKey(player.PlayerId))
if (player.GetCustomRole() == CustomRoles.Hacker && opts.Mode is not MapOptions.Modes.CountOverlay && Hacker.PlayerIdList != null && Hacker.PlayerIdList.ContainsKey(player.PlayerId))
{
Logger.Info("Modded Client uses Map", "Hacker");
Hacker.MapHandle(player, __instance, opts);