serv4 + submodule update (#12740)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -9,7 +9,6 @@ using Content.Shared.Payload.Components;
|
||||
using Content.Shared.Tag;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Serialization.Manager;
|
||||
using Robust.Shared.Serialization.Markdown.Validation;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Payload.EntitySystems;
|
||||
@@ -100,7 +99,7 @@ public sealed class PayloadSystem : EntitySystem
|
||||
component.Owner = uid;
|
||||
|
||||
var temp = (object) component;
|
||||
_serializationManager.Copy(data.Component, ref temp);
|
||||
_serializationManager.CopyTo(data.Component, ref temp);
|
||||
EntityManager.AddComponent(uid, (Component)temp!);
|
||||
|
||||
trigger.GrantedComponents.Add(registration.Type);
|
||||
|
||||
Reference in New Issue
Block a user