mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 14:56:00 +00:00
rogueviz:: seuphorica:: fixed the escape key doing the wrong thing
This commit is contained in:
@@ -1059,7 +1059,7 @@ void seuphorica_screen() {
|
|||||||
keyhandler = [] (int sym, int uni) {
|
keyhandler = [] (int sym, int uni) {
|
||||||
handlePanning(sym, uni);
|
handlePanning(sym, uni);
|
||||||
dialog::handleNavigation(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) {
|
if(uni == PSEUDOKEY_RELEASE && hold_mode == 4 && tile_moved) {
|
||||||
swap(*tile_moved, drawn[0]);
|
swap(*tile_moved, drawn[0]);
|
||||||
cast_spell(tile_boxid);
|
cast_spell(tile_boxid);
|
||||||
|
Reference in New Issue
Block a user