Skip to content

Commit

Permalink
Update Robust.Shared/GameObjects/EntityManager.cs
Browse files Browse the repository at this point in the history
Co-authored-by: ShadowCommander <[email protected]>
  • Loading branch information
EmoGarbage404 and ShadowCommander authored May 31, 2024
1 parent d1830b2 commit c4c0a03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Robust.Shared/GameObjects/EntityManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ public virtual EntityUid CreateEntityUninitialized(string? prototypeName, Entity
var newEntity = CreateEntity(prototypeName, out _, overrides);

var xformComp = TransformQuery.GetComponent(newEntity);
var newRotation = rotation;
_xforms.SetCoordinates(newEntity, xformComp, coordinates, rotation: newRotation, unanchor: false);
_xforms.SetCoordinates(newEntity, xformComp, coordinates, rotation: rotation, unanchor: false);
return newEntity;
}

Expand Down

0 comments on commit c4c0a03

Please sign in to comment.