Improved Spanish accent (#30551)
* Spanish and French comment * Added the interrobang * Make spanish accent use sting builder
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Content.Server.Speech
|
||||
{
|
||||
public sealed class AccentSystem : EntitySystem
|
||||
{
|
||||
public static readonly Regex SentenceRegex = new(@"(?<=[\.!\?])", RegexOptions.Compiled);
|
||||
public static readonly Regex SentenceRegex = new(@"(?<=[\.!\?‽])(?![\.!\?‽])", RegexOptions.Compiled);
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user