Polymorphs spawn using the parents world rotation (#27223)
changes polymorph spawn to use angle
This commit is contained in:
@@ -199,7 +199,7 @@ public sealed partial class PolymorphSystem : EntitySystem
|
|||||||
|
|
||||||
var targetTransformComp = Transform(uid);
|
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);
|
MakeSentientCommand.MakeSentient(child, EntityManager);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user