Update submodule to 182.1.0 (#21900)

This commit is contained in:
metalgearsloth
2023-11-26 13:53:54 +11:00
committed by GitHub
parent 808ed846d1
commit 855ab4d129
34 changed files with 332 additions and 110 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, comp) in prototype.Components)
foreach (var compType in prototype.Components.Keys)
{
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.ToString());
return new ValueDataNode(value.Id.ToString());
}
EntityUid ITypeReader<EntityUid, ValueDataNode>.Read(ISerializationManager serializationManager,
@@ -217,7 +217,7 @@ public sealed class PrototypeSaveTest
SerializationHookContext hookCtx,
ISerializationContext? context, ISerializationManager.InstantiationDelegate<EntityUid>? instanceProvider)
{
return EntityUid.Parse(node.Value);
return EntityUid.Parse(node.Value, "0");
}
}
}