mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
workaround for allowing quit in launcher, fixup freeflymodeflag accesses in TTrain
This commit is contained in:
@@ -231,8 +231,8 @@ driver_ui::render_() {
|
||||
if( ImGui::Button( STR_C("Resume"), ImVec2( 150, 0 ) ) ) {
|
||||
m_relay.post(user_command::pausetoggle, 0.0, 0.0, GLFW_PRESS, 0);
|
||||
}
|
||||
if( ImGui::Button( STR_C("Quit"), ImVec2( 150, 0 ) ) ) {
|
||||
m_relay.post(user_command::quitsimulation, 0.0, 0.0, GLFW_PRESS, 0);
|
||||
if( ImGui::Button( STR_C("Quit"), ImVec2( 150, 0 ) ) ) {
|
||||
Application.queue_quit(false);
|
||||
}
|
||||
if (!m_paused)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user