1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

rogueviz:: seuphorica:: fixed the escape key doing the wrong thing

This commit is contained in:
Zeno Rogue
2025-08-29 08:45:47 +02:00
parent 5ea720c978
commit 03ed6d1027

View File

@@ -1059,7 +1059,7 @@ void seuphorica_screen() {
keyhandler = [] (int sym, int uni) {
handlePanning(sym, uni);
dialog::handleNavigation(sym, uni);
if(uni == SDLK_ESCAPE) popScreen();
if(uni == SDLK_ESCAPE) pushScreen(seuphorica_menu);
if(uni == PSEUDOKEY_RELEASE && hold_mode == 4 && tile_moved) {
swap(*tile_moved, drawn[0]);
cast_spell(tile_boxid);