mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix
This commit is contained in:
1 parent
05686d7b17
commit
a252c36f7a
2 files changed
+2
-3
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user