From: keronshb <54602815+keronshb@users.noreply.github.com> Date: Mon, 22 Apr 2024 08:39:07 +0000 (-0400) Subject: Polymorphs spawn using the parents world rotation (#27223) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=210e6f64447fe586241998532c97c4c03df0b88a;p=space-station-14.git Polymorphs spawn using the parents world rotation (#27223) changes polymorph spawn to use angle --- diff --git a/Content.Server/Polymorph/Systems/PolymorphSystem.cs b/Content.Server/Polymorph/Systems/PolymorphSystem.cs index 8cae15d70d..e6ba1d02af 100644 --- a/Content.Server/Polymorph/Systems/PolymorphSystem.cs +++ b/Content.Server/Polymorph/Systems/PolymorphSystem.cs @@ -199,7 +199,7 @@ public sealed partial class PolymorphSystem : EntitySystem var targetTransformComp = Transform(uid); - var child = Spawn(configuration.Entity, targetTransformComp.Coordinates); + var child = Spawn(configuration.Entity, _transform.GetMapCoordinates(uid, targetTransformComp), rotation: _transform.GetWorldRotation(uid)); MakeSentientCommand.MakeSentient(child, EntityManager);