remove default name
This commit is contained in:
parent
a244324776
commit
b5f79b1c29
@ -21,7 +21,7 @@ do
|
||||
|
||||
Console.WriteLine($"Wygrana w {trials} próbie!");
|
||||
Console.Write("Podaj swoje imię: ");
|
||||
var name = Console.ReadLine() ?? "Jan";
|
||||
var name = Console.ReadLine()!;
|
||||
|
||||
var hs = new HighScore { Name = name, Trials = trials };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user