mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Reset ghost rotation to zero on follow (#8256)
This commit is contained in:
parent
b59c261705
commit
0509f5f630
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ public sealed class FollowerSystem : EntitySystem
|
|||
var xform = Transform(follower);
|
||||
xform.AttachParent(entity);
|
||||
xform.LocalPosition = Vector2.Zero;
|
||||
xform.LocalRotation = Angle.Zero;
|
||||
|
||||
EnsureComp<OrbitVisualsComponent>(follower);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue