mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-09 09:54:06 +00:00
rogueviz:: easier to leave show_likelihood
This commit is contained in:
parent
10f1559da0
commit
57f9e3efb6
@ -60,9 +60,7 @@ void show_likelihood() {
|
|||||||
else shmup::fixStorage();
|
else shmup::fixStorage();
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog::addItem("move", 'm');
|
dialog::addBack();
|
||||||
dialog::add_action([] () { popScreen(); });
|
|
||||||
|
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
|
||||||
if(held_id >= 0) {
|
if(held_id >= 0) {
|
||||||
@ -95,6 +93,7 @@ void show_likelihood() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog::handleNavigation(sym, uni);
|
dialog::handleNavigation(sym, uni);
|
||||||
|
if(doexiton(sym, uni)) popScreen();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user