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
1 changed files with 2 additions and 3 deletions

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();
};
}