aboutsummaryrefslogtreecommitdiff
path: root/src/games/minesweeper/Minesweeper.hpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-10-01 14:39:24 +0200
committerfschildt <florian.schildt@protonmail.com>2025-10-01 14:39:24 +0200
commitc68ff7241393c02e9544bdb283710251c9c4b27c (patch)
treec6c8ce2cf460081681bd75922b21cb0a0353322d /src/games/minesweeper/Minesweeper.hpp
parentc775ca6133d93ed97359a6a50bd94a5563c740de (diff)
minesweeper: hotfix exit
Diffstat (limited to 'src/games/minesweeper/Minesweeper.hpp')
-rw-r--r--src/games/minesweeper/Minesweeper.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/games/minesweeper/Minesweeper.hpp b/src/games/minesweeper/Minesweeper.hpp
index c0bae7a..f29df14 100644
--- a/src/games/minesweeper/Minesweeper.hpp
+++ b/src/games/minesweeper/Minesweeper.hpp
@@ -23,7 +23,7 @@ namespace std {
class Minesweeper : public Game {
public:
enum RunState {
- start_menu,
+ start,
pause,
resume,
game_over,
@@ -77,7 +77,7 @@ private:
private:
- RunState m_run_state = start_menu;
+ RunState m_run_state = start;
Difficulty m_difficulty = beginner;
float m_world_width = 4.0f;