Fixed trivia hints
This commit is contained in:
parent
b570234f68
commit
a0a5c3b433
@ -81,7 +81,7 @@ namespace NadekoBot.Modules.Games.Trivia
|
|||||||
|
|
||||||
private static string Scramble(string word)
|
private static string Scramble(string word)
|
||||||
{
|
{
|
||||||
var letters = word.ToArray();
|
var letters = word.ToCharArray();
|
||||||
var count = 0;
|
var count = 0;
|
||||||
for (var i = 0; i < letters.Length; i++)
|
for (var i = 0; i < letters.Length; i++)
|
||||||
{
|
{
|
||||||
@ -98,7 +98,7 @@ namespace NadekoBot.Modules.Games.Trivia
|
|||||||
if (letters[i] != ' ')
|
if (letters[i] != ' ')
|
||||||
letters[i] = '_';
|
letters[i] = '_';
|
||||||
}
|
}
|
||||||
return string.Join(" ", letters);
|
return string.Join(" \x200B", new string(letters).Replace(" ", " \x200B").AsEnumerable());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user