diff --git a/Content.Shared/Buckle/Components/StrapComponent.cs b/Content.Shared/Buckle/Components/StrapComponent.cs index 46f260741a..b0f37a8daf 100644 --- a/Content.Shared/Buckle/Components/StrapComponent.cs +++ b/Content.Shared/Buckle/Components/StrapComponent.cs @@ -66,11 +66,11 @@ public sealed partial class StrapComponent : Component public Vector2 BuckleOffset = Vector2.Zero; /// - /// The angle in degrees to rotate the player by when they get strapped + /// The angle to rotate the player by when they get strapped /// [DataField] [ViewVariables(VVAccess.ReadWrite)] - public int Rotation; + public Angle Rotation; /// /// The size of the strap which is compared against when buckling entities diff --git a/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs b/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs index 9b2b8ce4c8..cfaea47d30 100644 --- a/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs +++ b/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs @@ -357,7 +357,7 @@ public abstract partial class SharedBuckleSystem if (TryComp(buckleUid, out var appearance)) Appearance.SetData(buckleUid, BuckleVisuals.Buckled, true, appearance); - _rotationVisuals.SetHorizontalAngle(buckleUid, strapComp.Rotation); + _rotationVisuals.SetHorizontalAngle(buckleUid, strapComp.Rotation); ReAttach(buckleUid, strapUid, buckleComp, strapComp); SetBuckledTo(buckleUid, strapUid, strapComp, buckleComp);