Skip to content

Commit

Permalink
Fix _gameEnd never set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
MP3Martin committed Feb 19, 2024
1 parent 3b1fa58 commit 202f95c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions terminal-minesweeper/MinesweeperGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public bool Loop() {
break;
}
}
_gameEnd = true;
UpdateTerminal();
Thread.Sleep(300);
ClearConsoleKeyInput();
Expand Down
2 changes: 1 addition & 1 deletion terminal-minesweeper/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private static void Main() {

private static class Consts {
public const string Name = "terminal-minesweeper";
public const string Version = "v1.0.4";
public const string Version = "v1.0.5";
public const string CheatCode = "cheat";
}

Expand Down

0 comments on commit 202f95c

Please sign in to comment.