We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c5ba84 commit aff69c6Copy full SHA for aff69c6
Sources/Client/Client_Input.cpp
@@ -303,6 +303,10 @@ namespace spades {
303
}
304
305
306
+ } else if (name == "Pause") {
307
+ if (!inGameLimbo && GetWorld()) {
308
+ scriptedUI->EnterClientMenu();
309
+ }
310
} else if (world) {
311
if (IsLimboViewActive()) {
312
if (down) {
Sources/Gui/SDLRunner.cpp
@@ -170,6 +170,9 @@ namespace spades {
170
m_active = false;
171
SDL_ShowCursor(1);
172
173
+ if (event.window.event == SDL_WINDOWEVENT_MINIMIZED) {
174
+ view.KeyEvent("Pause", true);
175
176
break;
177
default: break;
178
0 commit comments