From ebd536897c3e1a25d1a0a7e954dfaf25f2284517 Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Wed, 9 Mar 2022 12:01:38 +0300 Subject: [PATCH] Minor fixes --- Cell.cs | 1 - Main.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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();