Skip to content

Commit

Permalink
Fix potential crash when loading menu
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Nov 22, 2024
1 parent bc10b38 commit 82b1748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/states/MenuState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
MenuState::MenuState(SDL_Renderer * renderer, FontManager * fonts, SoundManager * sounds, OptionManager * options) : renderer(renderer), fonts(fonts), sounds(sounds), options(options),
theme(renderer, options, Theme::MENU)
{
this->loadTexts();
}

MenuState::~MenuState() {
Expand Down

0 comments on commit 82b1748

Please sign in to comment.