mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Fix for writing useless log informations
This commit is contained in:
@@ -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>();
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user