diff --git a/Content.Server/DeltaV/Speech/Components/ScottishAccentComponent.cs b/Content.Server/DeltaV/Speech/Components/ScottishAccentComponent.cs index 90d21ea05e1..a6417871088 100644 --- a/Content.Server/DeltaV/Speech/Components/ScottishAccentComponent.cs +++ b/Content.Server/DeltaV/Speech/Components/ScottishAccentComponent.cs @@ -1,6 +1,8 @@ +using Content.Server.Speech.EntitySystems; + +namespace Content.Server.DeltaV.Speech.Components; + [RegisterComponent] [Access(typeof(ScottishAccentSystem))] public sealed partial class ScottishAccentComponent : Component -{ - -} \ No newline at end of file +{ } \ No newline at end of file diff --git a/Content.Server/DeltaV/Speech/EntitySystems/ScottishAccentSystem.cs b/Content.Server/DeltaV/Speech/EntitySystems/ScottishAccentSystem.cs index 6d816e2188d..1aa8a7ab22f 100644 --- a/Content.Server/DeltaV/Speech/EntitySystems/ScottishAccentSystem.cs +++ b/Content.Server/DeltaV/Speech/EntitySystems/ScottishAccentSystem.cs @@ -1,5 +1,4 @@ using Content.Server.Speech.Components; -using Robust.Shared.Random; using System.Text.RegularExpressions; namespace Content.Server.Speech.EntitySystems; @@ -21,6 +20,7 @@ public string Accentuate(string message, ScottishAccentComponent component) var msg = message; msg = _replacement.ApplyReplacements(msg, "Scottish"); + return msg; } @@ -28,4 +28,4 @@ private void OnAccentGet(EntityUid uid, ScottishAccentComponent component, Accen { args.Message = Accentuate(args.Message, component); } -} +} \ No newline at end of file