skip more for file load preview

This commit is contained in:
2025-03-15 14:14:09 -05:00
committed by Celtic Minstrel
parent c48a92e3c6
commit 6f14c01487
6 changed files with 75 additions and 60 deletions

View File

@@ -441,7 +441,7 @@ bool load_scenario_header(fs::path file,scen_header_type& scen_head){
// So file is (probably) OK, so load in string data and close it.
cScenario temp_scenario;
if(!load_scenario(file, temp_scenario, true))
if(!load_scenario(file, temp_scenario, eLoadScenario::ONLY_HEADER))
return false;
scen_head.name = temp_scenario.scen_name;

View File

@@ -442,7 +442,7 @@ static void handle_scenario_args() {
}
cScenario scenario;
if(load_scenario(path, scenario, false)){
if(load_scenario(path, scenario)){
if(!party_in_memory){
start_new_game(true);
}