Skip to content

Commit

Permalink
Merge pull request #63 from Fansana/fix-subtle-capitalization
Browse files Browse the repository at this point in the history
fix case
  • Loading branch information
Fansana authored Jul 25, 2024
2 parents 4300194 + c110116 commit bf9eb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Chat/Systems/ChatSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void TrySendInGameICMessage(
message = message[1..];
}

bool shouldCapitalize = (desiredType != InGameICChatType.Emote);
bool shouldCapitalize = (desiredType != InGameICChatType.Emote && desiredType != InGameICChatType.Subtle);
bool shouldPunctuate = _configurationManager.GetCVar(CCVars.ChatPunctuation);
// Capitalizing the word I only happens in English, so we check language here
bool shouldCapitalizeTheWordI = (!CultureInfo.CurrentCulture.IsNeutralCulture && CultureInfo.CurrentCulture.Parent.Name == "en")
Expand Down

0 comments on commit bf9eb3d

Please sign in to comment.