Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Fixed SandboxViolation
Browse files Browse the repository at this point in the history
  • Loading branch information
FireNameFN committed May 18, 2024
1 parent db19f63 commit f0ebbeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public LanguageMessage GetLanguageMessage(EntityUid entity, string message, stri
if (IsUpper(word))
languageWord = languageWord!.ToUpper();
else if (char.IsUpper(word[0]))
languageWord = char.ToUpper(languageWord![0]) + languageWord[1..];
languageWord = char.ToUpper(languageWord![0]).ToString() + languageWord[1..];

messageBuilder.Append(languageWord);
}
Expand Down

0 comments on commit f0ebbeb

Please sign in to comment.