diff --git a/Content.Server/Antag/AntagSelectionSystem.cs b/Content.Server/Antag/AntagSelectionSystem.cs index 1b60e9b801e..4ba001d4f95 100644 --- a/Content.Server/Antag/AntagSelectionSystem.cs +++ b/Content.Server/Antag/AntagSelectionSystem.cs @@ -12,6 +12,7 @@ using Content.Server.Roles; using Content.Server.Roles.Jobs; using Content.Server.Shuttles.Components; +using Content.Server.Bible.Components; // Sunrise-Vampire using Content.Shared.Antag; using Content.Shared.Clothing; using Content.Shared.GameTicking; @@ -506,6 +507,11 @@ public bool IsEntityValid(EntityUid? entity, AntagSelectionDefinition def) if (entity == null) return true; + // Sunrise-Vampire-Start + if (def.PrefRoles.Any(role => role == "Vampire") && HasComp(entity.Value)) + return false; + // Sunrise-Vampire-End + if (HasComp(entity)) return false;