fix spaces in player names
This commit is contained in:
parent
be6c25c35d
commit
e9d983229c
@ -110,9 +110,7 @@ namespace Game {
|
|||||||
|
|
||||||
display.SetCursor(display.windowHeight / 2 + 1, display.windowWidth / 4);
|
display.SetCursor(display.windowHeight / 2 + 1, display.windowWidth / 4);
|
||||||
display.WriteColored(I18n.GetMessage(I18n.Message.ENTER_NAME), 0, 0x5e61ed);
|
display.WriteColored(I18n.GetMessage(I18n.Message.ENTER_NAME), 0, 0x5e61ed);
|
||||||
Leaderboard.WriteScore(Console.ReadLine(), correntAnswers);
|
Leaderboard.WriteScore(Console.ReadLine().Replace('\t', '_').Replace(' ', '_'), correntAnswers);
|
||||||
|
|
||||||
Console.ReadKey();
|
|
||||||
|
|
||||||
display.ResetWindow();
|
display.ResetWindow();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user