Skip to content

Commit 202f95c

Browse files
committed
Fix _gameEnd never set to true
1 parent 3b1fa58 commit 202f95c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

terminal-minesweeper/MinesweeperGame.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public bool Loop() {
8787
break;
8888
}
8989
}
90+
_gameEnd = true;
9091
UpdateTerminal();
9192
Thread.Sleep(300);
9293
ClearConsoleKeyInput();

terminal-minesweeper/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private static void Main() {
4747

4848
private static class Consts {
4949
public const string Name = "terminal-minesweeper";
50-
public const string Version = "v1.0.4";
50+
public const string Version = "v1.0.5";
5151
public const string CheatCode = "cheat";
5252
}
5353

0 commit comments

Comments
 (0)