diff --git a/Cell.cs b/Cell.cs index f4d71a0..559ee18 100644 --- a/Cell.cs +++ b/Cell.cs @@ -5,7 +5,6 @@ public string Value = " "; public bool IsMine; public bool IsMarked; - public Cell(bool mine) { if (mine) diff --git a/Main.cs b/Main.cs index 0d975c4..75960e8 100644 --- a/Main.cs +++ b/Main.cs @@ -65,7 +65,7 @@ bool exit = false; while (true) { - key = Console.ReadKey().Key; + key = Console.ReadKey(true).Key; if (key == ConsoleKey.Enter) { Console.Clear();