]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Move `HeadstandComponent` to Shared (#39377)
authorTayrtahn <tayrtahn@gmail.com>
Mon, 4 Aug 2025 21:00:19 +0000 (17:00 -0400)
committerGitHub <noreply@github.com>
Mon, 4 Aug 2025 21:00:19 +0000 (23:00 +0200)
Move HeadstandComponent to Shared

Content.Client/Administration/Components/HeadstandComponent.cs [deleted file]
Content.Client/Administration/Systems/HeadstandSystem.cs
Content.Server/Administration/Components/HeadstandComponent.cs [deleted file]
Content.Shared/Administration/Components/SharedHeadstandComponent.cs

diff --git a/Content.Client/Administration/Components/HeadstandComponent.cs b/Content.Client/Administration/Components/HeadstandComponent.cs
deleted file mode 100644 (file)
index a4e3bfc..0000000
+++ /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
-{
-
-}
index d0634e4ddd659aee6e8d64beaca2fca45b7da496..8ab337f3ccfa1cc4c091ebf13595842782fb8a1b 100644 (file)
@@ -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 (file)
index 2ab097f..0000000
+++ /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
-{
-
-}
index 96a4dfc2ddd87b72122560068fbdbcd030aa5d37..25576fc4667c34cc2e48d779f48037ce0de84c29 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.Administration.Components;
 
 /// <summary>
-/// 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.
 /// </summary>
-[NetworkedComponent]
-public abstract partial class SharedHeadstandComponent : Component { }
+[RegisterComponent, NetworkedComponent]
+public sealed partial class HeadstandComponent : Component;