From 186563edd0b8ffa84bb35ac7266ef1f940dd96c1 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 1 May 2021 23:56:17 +0200 Subject: [PATCH] Suspicion doesn't check antag preferences anymore. --- Content.Server/GameTicking/GamePresets/PresetSuspicion.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Content.Server/GameTicking/GamePresets/PresetSuspicion.cs b/Content.Server/GameTicking/GamePresets/PresetSuspicion.cs index decd397800..44a1a218b6 100644 --- a/Content.Server/GameTicking/GamePresets/PresetSuspicion.cs +++ b/Content.Server/GameTicking/GamePresets/PresetSuspicion.cs @@ -74,11 +74,7 @@ namespace Content.Server.GameTicking.GamePresets { continue; } - var profile = ReadyProfiles[player.UserId]; - if (profile.AntagPreferences.Contains(_prototypeManager.Index(TraitorID).Name)) - { - prefList.Add(player); - } + prefList.Add(player); player.AttachedEntity?.EnsureComponent(); }