mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-23 08:44:07 +00:00
nilrider:: don't pause if we have not even started
This commit is contained in:
parent
34d8cb6f27
commit
54fde5348d
@ -213,7 +213,7 @@ void run() {
|
|||||||
show_button(PSEUDOKEY_MENU, "menu");
|
show_button(PSEUDOKEY_MENU, "menu");
|
||||||
|
|
||||||
dialog::add_key_action(PSEUDOKEY_MENU, [] {
|
dialog::add_key_action(PSEUDOKEY_MENU, [] {
|
||||||
paused = true;
|
if(curlev->current.timer) paused = true;
|
||||||
pushScreen(main_menu);
|
pushScreen(main_menu);
|
||||||
});
|
});
|
||||||
if(pause_av) dialog::add_key_action(PSEUDOKEY_PAUSE, [] {
|
if(pause_av) dialog::add_key_action(PSEUDOKEY_PAUSE, [] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user