From 9f83c7e813f06e1199b5aff0d938fcea079c1ee4 Mon Sep 17 00:00:00 2001 From: TransshipmentEnvoy Date: Sat, 30 May 2026 15:08:44 +0800 Subject: [PATCH] fix production screen not showing up on linux --- src/gamestate/system_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamestate/system_state.cpp b/src/gamestate/system_state.cpp index 788f0e97f..b35e60eb7 100644 --- a/src/gamestate/system_state.cpp +++ b/src/gamestate/system_state.cpp @@ -219,7 +219,7 @@ void state::on_resize(int32_t x, int32_t y, window::window_state win_state) { } void state::on_key_down(virtual_key keycode, key_modifiers mod) { - if(keycode == virtual_key::CONTROL) + if(keycode == virtual_key::CONTROL || keycode == virtual_key::LCONTROL || keycode == virtual_key::RCONTROL) ui_state.ctrl_held_down = true; if(keycode == virtual_key::SHIFT || keycode == virtual_key::LSHIFT || keycode == virtual_key::RSHIFT) ui_state.shift_held_down = true;