From a9ffa182a3138dc28038aeb40328a2b1cf1b3336 Mon Sep 17 00:00:00 2001 From: Litogin <139079015+Litogin@users.noreply.github.com> Date: Sun, 17 May 2026 21:39:48 +0300 Subject: [PATCH] Test fix (#616) * Update AllGamePresetsStartTest.cs * Update AllGamePresetsStartTest.cs --- .../Tests/GameRules/AllGamePresetsStartTest.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Content.IntegrationTests/Tests/GameRules/AllGamePresetsStartTest.cs b/Content.IntegrationTests/Tests/GameRules/AllGamePresetsStartTest.cs index ebd47e8af3..ab14f6a920 100644 --- a/Content.IntegrationTests/Tests/GameRules/AllGamePresetsStartTest.cs +++ b/Content.IntegrationTests/Tests/GameRules/AllGamePresetsStartTest.cs @@ -181,6 +181,18 @@ public sealed class AllGamePresetsStartTest : GameTest $"Session {session} spawned into the game as an antag, but had no entity!"); var ent = mindComp.CurrentEntity!.Value; + // WL-Changes-Start + var compRegs = antag.Blacklist.Registrations; + if (compRegs != null) + { + foreach (var comp in compRegs) + { + if (entMan.HasComponent(ent, comp)) + return; + } + } + // WL-Changes-End + // Make sure all components were added foreach (var comp in antag.Components) {