mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	tactic:: fixed PTM games not recorded when switching modes
This commit is contained in:
		| @@ -752,12 +752,16 @@ namespace tactic { | ||||
|       | ||||
|     keyhandler = [] (int sym, int uni) { | ||||
|       if(uni >= 1000 && uni < 1000 + isize(landlist)) { | ||||
|         stop_game(); | ||||
|         specialland = landlist[uni - 1000]; | ||||
|         restart_game(tactic::on ? rg::nothing : rg::tactic); | ||||
|         } | ||||
|       else if(uni == '0') { | ||||
|         firstland = laIce; | ||||
|         if(tactic::on) restart_game(rg::tactic); | ||||
|         if(tactic::on) { | ||||
|           stop_game();           | ||||
|           firstland = laIce; | ||||
|           restart_game(rg::tactic); | ||||
|           } | ||||
|         else popScreen(); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue