Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Try fix appereance polymorph #87

Merged
merged 4 commits into from
Apr 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Content.Server/Polymorph/Systems/PolymorphSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private void OnDestruction(Entity<PolymorphedEntityComponent> ent, ref Destructi

var targetTransformComp = Transform(uid);

var child = Spawn(configuration.Entity, targetTransformComp.Coordinates);
var child = Spawn(configuration.Entity, _transform.GetMapCoordinates(uid, targetTransformComp));

MakeSentientCommand.MakeSentient(child, EntityManager);

Expand Down
Loading