mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
54c1ef5515
commit
e8998f7f4b
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user