Revert the other arch changes (#21871)

This commit is contained in:
metalgearsloth
2023-11-24 11:19:46 +11:00
committed by GitHub
parent 15052bf7c2
commit d4bed09cdc
32 changed files with 108 additions and 309 deletions

View File

@@ -162,7 +162,7 @@ public sealed class PrototypeSaveTest
}
// An entity may also remove components on init -> check no components are missing.
foreach (var compType in prototype.Components.Keys)
foreach (var (compType, comp) in prototype.Components)
{
Assert.That(compNames, Does.Contain(compType), $"Prototype {prototype.ID} removes component {compType} on spawn.");
}
@@ -208,7 +208,7 @@ public sealed class PrototypeSaveTest
Assert.Fail($"Uninitialized entities should not be saving entity Uids. Component: {WritingComponent}. Prototype: {Prototype.ID}");
}
return new ValueDataNode(value.Id.ToString());
return new ValueDataNode(value.ToString());
}
EntityUid ITypeReader<EntityUid, ValueDataNode>.Read(ISerializationManager serializationManager,