From fb2ee2a15fb1cc42e4c9238fd055801cb6fe7062 Mon Sep 17 00:00:00 2001 From: Rasmus Anthin Date: Wed, 20 Nov 2024 20:56:03 +0100 Subject: [PATCH] GameEngine.h: * Fixing but that caused the instructions screen not to be shown when enable_title_screen is false but enable_instructions_screen is true. --- GameEngine.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GameEngine.h b/GameEngine.h index f3e706d..c33884e 100644 --- a/GameEngine.h +++ b/GameEngine.h @@ -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;