1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-22 22:10:20 +00:00

ads-game:: restart fixup

This commit is contained in:
Zeno Rogue 2022-09-29 11:14:14 +02:00
parent 6549637f8d
commit 84022c1ab4

View File

@ -95,7 +95,10 @@ void game_menu() {
dialog::add_action_push(edit_particles);
dialog::addItem(XLAT("restart game"), 'r');
dialog::add_action([] { ads_game::restart(); popScreen(); });
dialog::add_action([] {
if(main_rock) ds_restart();
else restart();
popScreen(); });
dialog::addItem(XLAT("refill cheat"), 'R');
dialog::add_action([] { init_rsrc(); popScreen(); });