diff --git a/Patches/ShipStatusPatch.cs b/Patches/ShipStatusPatch.cs index 74a7cdaee..14a9f37f0 100644 --- a/Patches/ShipStatusPatch.cs +++ b/Patches/ShipStatusPatch.cs @@ -329,7 +329,7 @@ public static class HauntMenuMinigameSetFilterTextPatch { public static bool Prefix(HauntMenuMinigame __instance) { - if (__instance.HauntTarget != null && Options.GhostCanSeeOtherRoles.GetBool()) + if (__instance.HauntTarget != null && Options.GhostCanSeeOtherRoles.GetBool() && (!Main.DiedThisRound.Contains(PlayerControl.LocalPlayer.PlayerId) || (!CustomRoles.Altruist.RoleExist() && !CustomRoles.Occultist.RoleExist()))) { byte id = __instance.HauntTarget.PlayerId; __instance.FilterText.text = Utils.GetDisplayRoleName(id) + Utils.GetProgressText(id);