Remove PoolSettings.ExtraPrototypes option (#18678)

This commit is contained in:
Leon Friedrich
2023-08-05 16:16:48 +12:00
committed by GitHub
parent c2beaff3ac
commit d58786faf4
51 changed files with 463 additions and 399 deletions

View File

@@ -72,10 +72,11 @@ namespace Content.IntegrationTests.Tests.Disposal
});
}
[TestPrototypes]
private const string Prototypes = @"
- type: entity
name: HumanDummy
id: HumanDummy
name: HumanDisposalDummy
id: HumanDisposalDummy
components:
- type: Body
prototype: Human
@@ -148,8 +149,7 @@ namespace Content.IntegrationTests.Tests.Disposal
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
{
NoClient = true,
ExtraPrototypes = Prototypes
NoClient = true
});
var server = pairTracker.Pair.Server;
@@ -171,7 +171,7 @@ namespace Content.IntegrationTests.Tests.Disposal
{
// Spawn the entities
var coordinates = testMap.GridCoords;
human = entityManager.SpawnEntity("HumanDummy", coordinates);
human = entityManager.SpawnEntity("HumanDisposalDummy", coordinates);
wrench = entityManager.SpawnEntity("WrenchDummy", coordinates);
disposalUnit = entityManager.SpawnEntity("DisposalUnitDummy", coordinates);
disposalTrunk = entityManager.SpawnEntity("DisposalTrunkDummy",