1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

rogueviz:: easier to leave show_likelihood

This commit is contained in:
Zeno Rogue 2022-07-23 15:42:58 +02:00
parent 10f1559da0
commit 57f9e3efb6

View File

@ -60,9 +60,7 @@ void show_likelihood() {
else shmup::fixStorage();
});
dialog::addItem("move", 'm');
dialog::add_action([] () { popScreen(); });
dialog::addBack();
dialog::display();
if(held_id >= 0) {
@ -95,6 +93,7 @@ void show_likelihood() {
}
dialog::handleNavigation(sym, uni);
if(doexiton(sym, uni)) popScreen();
};
}