Fix ScrambledAccent (#13923)

This commit is contained in:
Visne
2023-02-05 20:51:21 +01:00
committed by GitHub
parent 73bb757fc7
commit df160c0712
2 changed files with 11 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ namespace Content.Server.Speech.EntitySystems
// Scramble the words
var scrambled = words.OrderBy(x => _random.Next()).ToArray();
var msg = String.Join(" ", scrambled);
var msg = string.Join(" ", scrambled);
// First letter should be capital
msg = msg[0].ToString().ToUpper() + msg.Remove(0, 1);

View File

@@ -1,7 +1,7 @@
accent-scrambled-words-1 = Who?,
accent-scrambled-words-2 = What?,
accent-scrambled-words-3 = When?,
accent-scrambled-words-4 = Where?,
accent-scrambled-words-5 = Why!,
accent-scrambled-words-6 = How?,
accent-scrambled-words-7 = Me!,
accent-scrambled-words-1 = Who?
accent-scrambled-words-2 = What?
accent-scrambled-words-3 = When?
accent-scrambled-words-4 = Where?
accent-scrambled-words-5 = Why?
accent-scrambled-words-6 = How?
accent-scrambled-words-7 = Me!