From 3654fcf5ddb194aa749dd6ab9b324a8934e0f70f Mon Sep 17 00:00:00 2001 From: Perry Fraser Date: Mon, 11 Aug 2025 07:00:12 -0400 Subject: [PATCH] fix: reform dionas via SpawnNextToOrDrop (#39505) --- Content.Shared/Species/Systems/ReformSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Species/Systems/ReformSystem.cs b/Content.Shared/Species/Systems/ReformSystem.cs index 943432522d..285d36840f 100644 --- a/Content.Shared/Species/Systems/ReformSystem.cs +++ b/Content.Shared/Species/Systems/ReformSystem.cs @@ -90,7 +90,7 @@ public sealed partial class ReformSystem : EntitySystem // Spawn a new entity // This is, to an extent, taken from polymorph. I don't use polymorph for various reasons- most notably that this is permanent. - var child = Spawn(comp.ReformPrototype, Transform(uid).Coordinates); + var child = SpawnNextToOrDrop(comp.ReformPrototype, uid); // This transfers the mind to the new entity if (_mindSystem.TryGetMind(uid, out var mindId, out var mind)) @@ -106,7 +106,7 @@ public sealed partial class ReformSystem : EntitySystem } public sealed partial class ReformEvent : InstantActionEvent { } - + [Serializable, NetSerializable] public sealed partial class ReformDoAfterEvent : SimpleDoAfterEvent { } }