From: Tayrtahn Date: Mon, 4 Aug 2025 21:00:19 +0000 (-0400) Subject: Move `HeadstandComponent` to Shared (#39377) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=312f81d58ad5e11e2a7510b2bcc30e1a49390159;p=space-station-14.git Move `HeadstandComponent` to Shared (#39377) Move HeadstandComponent to Shared --- diff --git a/Content.Client/Administration/Components/HeadstandComponent.cs b/Content.Client/Administration/Components/HeadstandComponent.cs deleted file mode 100644 index a4e3bfc5aa..0000000000 --- a/Content.Client/Administration/Components/HeadstandComponent.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Content.Shared.Administration.Components; -using Robust.Shared.GameStates; - -namespace Content.Client.Administration.Components; - -[RegisterComponent] -public sealed partial class HeadstandComponent : SharedHeadstandComponent -{ - -} diff --git a/Content.Client/Administration/Systems/HeadstandSystem.cs b/Content.Client/Administration/Systems/HeadstandSystem.cs index d0634e4ddd..8ab337f3cc 100644 --- a/Content.Client/Administration/Systems/HeadstandSystem.cs +++ b/Content.Client/Administration/Systems/HeadstandSystem.cs @@ -1,4 +1,4 @@ -using Content.Client.Administration.Components; +using Content.Shared.Administration.Components; using Robust.Client.GameObjects; namespace Content.Client.Administration.Systems; diff --git a/Content.Server/Administration/Components/HeadstandComponent.cs b/Content.Server/Administration/Components/HeadstandComponent.cs deleted file mode 100644 index 2ab097fad4..0000000000 --- a/Content.Server/Administration/Components/HeadstandComponent.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Content.Shared.Administration.Components; -using Robust.Shared.GameStates; - -namespace Content.Server.Administration.Components; - -[RegisterComponent] -public sealed partial class HeadstandComponent : SharedHeadstandComponent -{ - -} diff --git a/Content.Shared/Administration/Components/SharedHeadstandComponent.cs b/Content.Shared/Administration/Components/SharedHeadstandComponent.cs index 96a4dfc2dd..25576fc466 100644 --- a/Content.Shared/Administration/Components/SharedHeadstandComponent.cs +++ b/Content.Shared/Administration/Components/SharedHeadstandComponent.cs @@ -3,7 +3,7 @@ namespace Content.Shared.Administration.Components; /// -/// Flips the target's sprite on it's head, so they do a headstand. +/// Flips the target's sprite on its head, so they do a headstand. /// -[NetworkedComponent] -public abstract partial class SharedHeadstandComponent : Component { } +[RegisterComponent, NetworkedComponent] +public sealed partial class HeadstandComponent : Component;