From 13e260bf50b3e76bc253412e157847f20bbce9ff Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 11 Jul 2020 00:21:23 -0700 Subject: [PATCH] Fix pressing Esc in teleporter menu going to quit screen When I added the new pause menu, I forgot to make pressing Esc in the teleporter menu go to the new pause menu instead. But it's fixed now. --- desktop_version/src/Input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index bf459ee3..c8a0828b 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -2336,9 +2336,9 @@ void teleporterinput() { if (!map.custommode || map.custommodeforreal) { - // Go to "Do you want to quit?" screen + // Go to pause menu game.mapheld = true; - game.menupage = 10; + game.menupage = 30; game.gamestate = MAPMODE; } else