From 089db20356a08286736b0e3db53d48ae986b1824 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 22 Aug 2023 20:11:46 +0200 Subject: [PATCH] play this track / quit Nil Rider in Nil Rider selection --- rogueviz/nilrider/nilrider.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index ce2755527..913e23df0 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -322,7 +322,9 @@ void pick_game() { dialog::add_action_push(pick_level); dialog::addBreak(100); add_edit(planning_mode); - dialog::addBack(); + dialog::addItem(XLAT("play this track"), SDLK_ESCAPE); + dialog::addItem(XLAT("quit Nil Rider"), 'q'); + dialog::add_action([] { quitmainloop = true; }); dialog::display(); }