more proper serv4 usage because i forgot to push for the last pr (#12965)

This commit is contained in:
Paul Ritter
2022-12-11 00:25:04 +01:00
committed by GitHub
parent 5715b0c2be
commit bca66488bf
4 changed files with 4 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ public sealed class RandomHumanoidSystem : EntitySystem
foreach (var entry in prototype.Components.Values)
{
var comp = (Component) _serialization.CreateCopy(entry.Component);
var comp = (Component) _serialization.CreateCopy(entry.Component, notNullableOverride: true);
comp.Owner = humanoid;
EntityManager.AddComponent(humanoid, comp, true);
}