From 26f0b478f2cc6d54f8f0bdd4340fbc70969b3f2b Mon Sep 17 00:00:00 2001 From: Jano211 <107213310+Jano211@users.noreply.github.com> Date: Mon, 6 Jan 2025 01:58:34 +0100 Subject: [PATCH] Fix for writing useless log informations --- application.cpp | 1 - launcher/scenery_list.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/application.cpp b/application.cpp index d2a486e0..ccd49af3 100644 --- a/application.cpp +++ b/application.cpp @@ -519,7 +519,6 @@ eu07_application::push_mode( eu07_application::mode const Mode ) { if (!m_modes[Mode]) { if (Mode == mode::launcher) - Global.loading_log = false; m_modes[Mode] = std::make_shared(); if (Mode == mode::scenarioloader) m_modes[Mode] = std::make_shared(); diff --git a/launcher/scenery_list.cpp b/launcher/scenery_list.cpp index 848afc30..3db32ac0 100644 --- a/launcher/scenery_list.cpp +++ b/launcher/scenery_list.cpp @@ -100,7 +100,6 @@ void ui::scenerylist_panel::draw_launch_box() ImGui::TextWrapped(selected_trainset->description.c_str()); if (ImGui::Button(STR_C("Launch"), ImVec2(-1, 0))) { - Global.loading_log = !Global.loading_log; if (!launch_simulation()) ImGui::OpenPopup("missing_driver"); }