Remove CanBeAntag for nukeops (#9947)

This commit is contained in:
Morber
2022-07-22 00:00:24 +03:00
committed by GitHub
parent b9742e6cb5
commit 532ceff24e

View File

@@ -115,7 +115,6 @@ public sealed class NukeopsRuleSystem : GameRuleSystem
// ReSharper disable once ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator
foreach (var player in everyone)
{
if(player.ContentData()?.Mind?.AllRoles.All(role => role is not Job {CanBeAntag: false}) ?? false) continue;
if (!ev.Profiles.ContainsKey(player.UserId))
{
continue;