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

This commit is contained in:
Zeno Rogue committed 2025-08-29 08:45:47 +02:00
1 parent 5ea720c978
commit 03ed6d1027
1 file changed
+1 -1
+1 -1
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);