]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Moves muted to shared (#25374)
authorkeronshb <54602815+keronshb@users.noreply.github.com>
Wed, 21 Feb 2024 20:53:46 +0000 (15:53 -0500)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 20:53:46 +0000 (15:53 -0500)
* moves muted to shared

* fixes usings

* Update MutedComponent.cs

funny webedit

* Update MutedComponent.cs

oops using statement webedit

Content.Server/Abilities/Mime/MimePowersSystem.cs
Content.Server/Mobs/CritMobActionsSystem.cs
Content.Server/Mobs/DeathgaspSystem.cs
Content.Server/Puppet/VentriloquistPuppetSystem.cs
Content.Server/Speech/Muting/MutedComponent.cs [deleted file]
Content.Server/Speech/Muting/MutingSystem.cs
Content.Shared/Speech/Muting/MutedComponent.cs [new file with mode: 0644]

index 97ab7f4aa0a47205ca14477f11548c324af967f0..629fe993448ef8258313ddb735941982519bc949 100644 (file)
@@ -10,6 +10,7 @@ using Content.Shared.Physics;
 using Robust.Shared.Containers;
 using Robust.Shared.Map;
 using Robust.Shared.Timing;
+using Content.Shared.Speech.Muting;
 
 namespace Content.Server.Abilities.Mime
 {
index 8dd8274d1024fa82c439bb6c09b381af6353c0a0..c897102dca76b894b3c4ecb23415654209fecd99 100644 (file)
@@ -7,6 +7,7 @@ using Content.Shared.Mobs.Components;
 using Content.Shared.Mobs.Systems;
 using Robust.Server.Console;
 using Robust.Shared.Player;
+using Content.Shared.Speech.Muting;
 
 namespace Content.Server.Mobs;
 
index 3919d9a4be57504d72c2275932984246e263c57c..c531784ea69189b3e08cebbc278a549a88b04460 100644 (file)
@@ -1,6 +1,7 @@
 using Content.Server.Chat.Systems;
 using Content.Server.Speech.Muting;
 using Content.Shared.Mobs;
+using Content.Shared.Speech.Muting;
 using Robust.Shared.Prototypes;
 
 namespace Content.Server.Mobs;
index 68d660fd1babaa04501c57437f7e431bb0a6735e..3e15a1a06cc8e084c238a582204b61bbb576cf58 100644 (file)
@@ -5,6 +5,7 @@ using Content.Shared.Puppet;
 using Content.Server.Speech.Muting;
 using Content.Shared.CombatMode;
 using Content.Shared.Hands;
+using Content.Shared.Speech.Muting;
 
 namespace Content.Server.Puppet
 {
diff --git a/Content.Server/Speech/Muting/MutedComponent.cs b/Content.Server/Speech/Muting/MutedComponent.cs
deleted file mode 100644 (file)
index 5b3ae83..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace Content.Server.Speech.Muting
-{
-    [RegisterComponent]
-    public sealed partial class MutedComponent : Component
-    {}
-}
index b743d9eda85e1334b8408177b5140be69d257d48..238d501e249d3b98e8e4d3f6438f17ceae72dc43 100644 (file)
@@ -6,6 +6,7 @@ using Content.Server.Speech.EntitySystems;
 using Content.Shared.Chat.Prototypes;
 using Content.Shared.Puppet;
 using Content.Shared.Speech;
+using Content.Shared.Speech.Muting;
 
 namespace Content.Server.Speech.Muting
 {
diff --git a/Content.Shared/Speech/Muting/MutedComponent.cs b/Content.Shared/Speech/Muting/MutedComponent.cs
new file mode 100644 (file)
index 0000000..46e5f2c
--- /dev/null
@@ -0,0 +1,10 @@
+using Robust.Shared.GameStates;
+
+namespace Content.Shared.Speech.Muting
+{
+    [RegisterComponent, NetworkedComponent]
+    public sealed partial class MutedComponent : Component
+    {
+
+    }
+}