mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
30%
This commit is contained in:
1 parent
66e6c4cf44
commit
ebc86f2e2c
44 files changed
+347
-300
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user