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:
parent
6549637f8d
commit
84022c1ab4
@ -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(); });
|
||||
|
Loading…
x
Reference in New Issue
Block a user