In scenario editor, dump to start screen if scenario load fails

This commit is contained in:
2015-07-05 23:31:01 -04:00
parent 7b76d37237
commit a5ea3174c8

View File

@@ -222,7 +222,8 @@ void handle_menu_choice(eMenu item_hit) {
overall_mode = MODE_MAIN_SCREEN;
change_made = false;
set_up_main_screen();
}
} else if(!file_to_load.empty())
set_up_start_screen(); // Failed to load file, dump to start
break;
case eMenu::FILE_SAVE:
save_scenario();