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.
This commit is contained in:
Misa
2020-07-11 00:21:23 -07:00
committed by Ethan Lee
parent 5f131b426b
commit 13e260bf50

View File

@@ -2336,9 +2336,9 @@ void teleporterinput()
{ {
if (!map.custommode || map.custommodeforreal) if (!map.custommode || map.custommodeforreal)
{ {
// Go to "Do you want to quit?" screen // Go to pause menu
game.mapheld = true; game.mapheld = true;
game.menupage = 10; game.menupage = 30;
game.gamestate = MAPMODE; game.gamestate = MAPMODE;
} }
else else