mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
nilrider:: game_keys_scroll
This commit is contained in:
parent
e459723836
commit
df6dd67fc1
@ -231,10 +231,12 @@ void run() {
|
|||||||
|
|
||||||
dialog::add_key_action(PSEUDOKEY_MENU, [] {
|
dialog::add_key_action(PSEUDOKEY_MENU, [] {
|
||||||
if(curlev->current.timer) paused = true;
|
if(curlev->current.timer) paused = true;
|
||||||
|
game_keys_scroll = 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, [] {
|
||||||
paused = !paused;
|
paused = !paused;
|
||||||
|
game_keys_scroll = true;
|
||||||
if(view_replay && !paused)
|
if(view_replay && !paused)
|
||||||
simulation_start_tick = ticks - curlev->current.timer * tps;
|
simulation_start_tick = ticks - curlev->current.timer * tps;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user