From 123530c02392e81350596ad7af3a7e3469d1e21e Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Tue, 26 Nov 2024 13:50:41 +0100 Subject: [PATCH] Show credits after finishing the game --- src/states/WonState.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/states/WonState.hpp b/src/states/WonState.hpp index daf9a6c..b398418 100644 --- a/src/states/WonState.hpp +++ b/src/states/WonState.hpp @@ -26,7 +26,7 @@ class WonState : public BaseState { bool sound_played = false; - State next_state = State::EXIT; + State next_state = State::CREDITS; public: WonState(SDL_Renderer *renderer, FontManager * fonts, SoundManager * sounds, OptionManager * options); ~WonState();