mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	irregular:: do not pop screen if failed map
This commit is contained in:
		| @@ -932,7 +932,6 @@ EX void load_map_full(hstream& f) { | ||||
| EX void cancel_map_creation() { | ||||
|   base = NULL; | ||||
|   runlevel = 0; | ||||
|   popScreen(); | ||||
|   gridmaking = false; | ||||
|   stop_game(); | ||||
|   geometry = orig_geometry; | ||||
| @@ -989,7 +988,7 @@ void show_gridmaker() { | ||||
|   dialog::addSelItem(XLAT("activate"), runlevel == 10 ? XLAT("ready") : XLAT("wait..."), 'f'); | ||||
|   if(runlevel == 10) dialog::add_action(start_game_on_created_map); | ||||
|   dialog::addItem(XLAT("cancel"), 'c'); | ||||
|   dialog::add_action([] { cancel_map_creation(); start_game(); }); | ||||
|   dialog::add_action([] { cancel_map_creation(); popScreen(); start_game(); }); | ||||
|   dialog::addItem(XLAT("save"), 's'); | ||||
|   dialog::add_action([] () { | ||||
|     dialog::openFileDialog(irrmapfile, XLAT("irregular to save:"), ".txt", [] () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue