From: keronshb <54602815+keronshb@users.noreply.github.com> Date: Wed, 21 Feb 2024 20:53:46 +0000 (-0500) Subject: Moves muted to shared (#25374) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=046c874daeb60609d8880fe27617836d37de1a94;p=space-station-14.git Moves muted to shared (#25374) * moves muted to shared * fixes usings * Update MutedComponent.cs funny webedit * Update MutedComponent.cs oops using statement webedit --- diff --git a/Content.Server/Abilities/Mime/MimePowersSystem.cs b/Content.Server/Abilities/Mime/MimePowersSystem.cs index 97ab7f4aa0..629fe99344 100644 --- a/Content.Server/Abilities/Mime/MimePowersSystem.cs +++ b/Content.Server/Abilities/Mime/MimePowersSystem.cs @@ -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 { diff --git a/Content.Server/Mobs/CritMobActionsSystem.cs b/Content.Server/Mobs/CritMobActionsSystem.cs index 8dd8274d10..c897102dca 100644 --- a/Content.Server/Mobs/CritMobActionsSystem.cs +++ b/Content.Server/Mobs/CritMobActionsSystem.cs @@ -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; diff --git a/Content.Server/Mobs/DeathgaspSystem.cs b/Content.Server/Mobs/DeathgaspSystem.cs index 3919d9a4be..c531784ea6 100644 --- a/Content.Server/Mobs/DeathgaspSystem.cs +++ b/Content.Server/Mobs/DeathgaspSystem.cs @@ -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; diff --git a/Content.Server/Puppet/VentriloquistPuppetSystem.cs b/Content.Server/Puppet/VentriloquistPuppetSystem.cs index 68d660fd1b..3e15a1a06c 100644 --- a/Content.Server/Puppet/VentriloquistPuppetSystem.cs +++ b/Content.Server/Puppet/VentriloquistPuppetSystem.cs @@ -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 index 5b3ae83992..0000000000 --- a/Content.Server/Speech/Muting/MutedComponent.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace Content.Server.Speech.Muting -{ - [RegisterComponent] - public sealed partial class MutedComponent : Component - {} -} diff --git a/Content.Server/Speech/Muting/MutingSystem.cs b/Content.Server/Speech/Muting/MutingSystem.cs index b743d9eda8..238d501e24 100644 --- a/Content.Server/Speech/Muting/MutingSystem.cs +++ b/Content.Server/Speech/Muting/MutingSystem.cs @@ -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 index 0000000000..46e5f2cbd8 --- /dev/null +++ b/Content.Shared/Speech/Muting/MutedComponent.cs @@ -0,0 +1,10 @@ +using Robust.Shared.GameStates; + +namespace Content.Shared.Speech.Muting +{ + [RegisterComponent, NetworkedComponent] + public sealed partial class MutedComponent : Component + { + + } +}