Fix: Starting game from GUI runs "get ready" timer
All checks were successful
Basic checks / Basic build-and-test supertask (push) Successful in 7m14s

Closes #23: Main menu's start button doesn't run the get-ready timer

I made the start button go directly to `GameState::Playing`, which is
not actually the right state for beginning a new game. Swap the states
and everything works again.
This commit is contained in:
2025-08-14 14:39:24 -05:00
parent 708f514582
commit cf9825fcc3

View File

@@ -284,7 +284,7 @@ fn operate_buttons(
game_state.set(GameState::TitleScreen);
}
ButtonMenuAction::StartGame => {
game_state.set(GameState::Playing);
game_state.set(GameState::GetReady);
}
ButtonMenuAction::Quit => {
app_exit_events.write(AppExit::Success);