mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	nilrider:: game_keys_scroll
This commit is contained in:
		| @@ -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; | ||||||
|     }); |     }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue