diff --git a/Sources/Client/Client_Input.cpp b/Sources/Client/Client_Input.cpp index 4031cf472..d1f664349 100644 --- a/Sources/Client/Client_Input.cpp +++ b/Sources/Client/Client_Input.cpp @@ -303,6 +303,14 @@ namespace spades { } } } + } else if (name == "Paused") { + if (down && GetWorld()) { + if (inGameLimbo) { + inGameLimbo = false; + } else { + scriptedUI->EnterClientMenu(); + } + } } else if (world) { if (IsLimboViewActive()) { if (down) { diff --git a/Sources/Gui/SDLRunner.cpp b/Sources/Gui/SDLRunner.cpp index 356808da5..17369c271 100644 --- a/Sources/Gui/SDLRunner.cpp +++ b/Sources/Gui/SDLRunner.cpp @@ -102,6 +102,7 @@ namespace spades { case SDLK_DELETE: return "Delete"; case SDLK_RETURN: return "Enter"; case SDLK_SLASH: return "/"; + case SDLK_PAUSE: return "Paused"; default: return std::string(SDL_GetScancodeName(k.scancode)); } }