Fix for writing useless log informations

This commit is contained in:
Jano211
2025-01-06 01:58:34 +01:00
committed by Hirek
parent 4d72d3522b
commit 26f0b478f2
2 changed files with 0 additions and 2 deletions

View File

@@ -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<launcher_mode>();
if (Mode == mode::scenarioloader)
m_modes[Mode] = std::make_shared<scenarioloader_mode>();

View File

@@ -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");
}