Suspicion doesn't check antag preferences anymore.

This commit is contained in:
Pieter-Jan Briers
2021-05-01 23:56:17 +02:00
parent f65cf925f1
commit 186563edd0

View File

@@ -74,11 +74,7 @@ namespace Content.Server.GameTicking.GamePresets
{
continue;
}
var profile = ReadyProfiles[player.UserId];
if (profile.AntagPreferences.Contains(_prototypeManager.Index<AntagPrototype>(TraitorID).Name))
{
prefList.Add(player);
}
prefList.Add(player);
player.AttachedEntity?.EnsureComponent<SuspicionRoleComponent>();
}