From: Preston Smith <92108534+thetolbean@users.noreply.github.com> Date: Sat, 19 Apr 2025 00:33:14 +0000 (-0500) Subject: Correct mobster suffix (#33240) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=cfda91e0f02b55cbbd47fa7d6d69c14b203f9db3;p=space-station-14.git Correct mobster suffix (#33240) Correct mob grammar --- diff --git a/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs b/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs index 0e9b0a34ef..5906bf3ed4 100644 --- a/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs +++ b/Content.Server/Speech/EntitySystems/MobsterAccentSystem.cs @@ -14,7 +14,7 @@ public sealed class MobsterAccentSystem : EntitySystem private static readonly Regex RegexUpperAr = new(@"(?<=\w)A[Rr](?=\w)"); private static readonly Regex RegexFirstWord = new(@"^(\S+)"); private static readonly Regex RegexLastWord = new(@"(\S+)$"); - + private static readonly Regex RegexLastPunctuation = new(@"([.!?]+$)(?!.*[.!?])|(?