Skip to content

Commit

Permalink
GameEngine.h:
Browse files Browse the repository at this point in the history
* Fixing but that caused the instructions screen not to be shown when enable_title_screen is false but enable_instructions_screen is true.
  • Loading branch information
razterizer committed Nov 20, 2024
1 parent c1280f8 commit fb2ee2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GameEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ class GameEngine
, anim_ctr_data(1)
{
std::tie(exe_path, exe_file) = folder::split_file_path(std::string(path_to_exe));
show_title = params.enable_title_screen;
if (!show_title)
show_instructions = params.enable_instructions_screen;
}

virtual ~GameEngine() = default;
Expand Down

0 comments on commit fb2ee2a

Please sign in to comment.