From a252c36f7aa4a18080458016f11d99a908f05cbd Mon Sep 17 00:00:00 2001 From: Gurge44 Date: Wed, 10 Sep 2025 18:28:30 +0200 Subject: [PATCH] fix --- Modules/CustomSabotage.cs | 2 +- Roles/AddOns/GhostRoles/Bloodmoon.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Modules/CustomSabotage.cs b/Modules/CustomSabotage.cs index 4811a65cc..da9ee58f7 100644 --- a/Modules/CustomSabotage.cs +++ b/Modules/CustomSabotage.cs @@ -51,7 +51,7 @@ public abstract class CustomSabotage public static string GetAllSuffix(PlayerControl seer, PlayerControl target, bool hud, bool meeting) { - if (!AmongUsClient.Instance.AmHost) return string.Empty; + if (!AmongUsClient.Instance.AmHost || Options.CurrentGameMode != CustomGameMode.Standard) return string.Empty; StringBuilder suffix = new(); diff --git a/Roles/AddOns/GhostRoles/Bloodmoon.cs b/Roles/AddOns/GhostRoles/Bloodmoon.cs index 767ea6713..8195d95c9 100644 --- a/Roles/AddOns/GhostRoles/Bloodmoon.cs +++ b/Roles/AddOns/GhostRoles/Bloodmoon.cs @@ -24,8 +24,7 @@ internal class Bloodmoon : IGhostRole public void OnProtect(PlayerControl pc, PlayerControl target) { - if (!pc.RpcCheckAndMurder(target, true)) return; - + if (target.Is(CustomRoles.Pestilence) || !pc.RpcCheckAndMurder(target, true)) return; ScheduledDeaths.TryAdd(target.PlayerId, Utils.TimeStamp); }