SanitizeMessagePeriod: Add Period at the end of sentences (#10710)

Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
This commit is contained in:
Tomás Alves
2022-08-31 13:42:46 +01:00
committed by GitHub
parent 168caa6032
commit f8c18c0b41
3 changed files with 24 additions and 5 deletions

View File

@@ -1072,6 +1072,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> FlavorText =
CVarDef.Create("ic.flavor_text", false, CVar.SERVER | CVar.REPLICATED);
/// <summary>
/// Adds a period at the end of a sentence if the sentence ends in a letter.
/// </summary>
public static readonly CVarDef<bool> ChatPunctuation =
CVarDef.Create("ic.punctuation", false, CVar.SERVER);
/*
* Salvage
*/