* Update AllGamePresetsStartTest.cs

* Update AllGamePresetsStartTest.cs
This commit is contained in:
Litogin
2026-05-17 21:39:48 +03:00
committed by GitHub
parent 6c814ca679
commit a9ffa182a3
@@ -181,6 +181,18 @@ public sealed class AllGamePresetsStartTest : GameTest
$"Session {session} spawned into the game as an antag, but had no entity!"); $"Session {session} spawned into the game as an antag, but had no entity!");
var ent = mindComp.CurrentEntity!.Value; 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 // Make sure all components were added
foreach (var comp in antag.Components) foreach (var comp in antag.Components)
{ {