Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -65,7 +65,7 @@ public sealed class MaterialArbitrageTest
|
||||
Dictionary<string, ConstructionComponent> constructionRecipes = new();
|
||||
foreach (var proto in protoManager.EnumeratePrototypes<EntityPrototype>())
|
||||
{
|
||||
if (proto.NoSpawn || proto.Abstract)
|
||||
if (proto.NoSpawn || proto.Abstract || pairTracker.Pair.IsTestPrototype(proto))
|
||||
continue;
|
||||
|
||||
if (!proto.Components.TryGetValue(constructionName, out var destructible))
|
||||
@@ -125,7 +125,7 @@ public sealed class MaterialArbitrageTest
|
||||
// Here we get the set of entities/materials spawned when destroying an entity.
|
||||
foreach (var proto in protoManager.EnumeratePrototypes<EntityPrototype>())
|
||||
{
|
||||
if (proto.NoSpawn || proto.Abstract)
|
||||
if (proto.NoSpawn || proto.Abstract || pairTracker.Pair.IsTestPrototype(proto))
|
||||
continue;
|
||||
|
||||
if (!proto.Components.TryGetValue(destructibleName, out var destructible))
|
||||
@@ -290,7 +290,7 @@ public sealed class MaterialArbitrageTest
|
||||
Dictionary<string, PhysicalCompositionComponent> physicalCompositions = new();
|
||||
foreach (var proto in protoManager.EnumeratePrototypes<EntityPrototype>())
|
||||
{
|
||||
if (proto.NoSpawn || proto.Abstract)
|
||||
if (proto.NoSpawn || proto.Abstract || pairTracker.Pair.IsTestPrototype(proto))
|
||||
continue;
|
||||
|
||||
if (!proto.Components.TryGetValue(compositionName, out var composition))
|
||||
|
||||
Reference in New Issue
Block a user