mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
workaround for allowing quit in launcher, fixup freeflymodeflag accesses in TTrain
This commit is contained in:
@@ -38,8 +38,8 @@ void launcher_ui::render_()
|
||||
m_vehiclepicker_panel.is_open = !m_vehiclepicker_panel.is_open;
|
||||
if (ImGui::Button(STR_C("Keymapper"), ImVec2(-1, 0)))
|
||||
m_keymapper_panel.is_open = !m_keymapper_panel.is_open;
|
||||
if (ImGui::Button(STR_C("Quit"), ImVec2(-1, 0)))
|
||||
Application.queue_quit();
|
||||
if (ImGui::Button(STR_C("Quit"), ImVec2(-1, 0)))
|
||||
Application.queue_quit(false);
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user