Game Load: Restore the ability to select 1.12.6 savegames in the list
Broken in14abecb2df
(#3495) (cherry picked from commit1497dc5fea
)
This commit is contained in:
parent
2094c0440e
commit
b5be41506b
1 changed files with 5 additions and 1 deletions
|
@ -373,7 +373,11 @@ void extract_summary_from_config(config& cfg_save, config& cfg_summary)
|
|||
cfg_summary["difficulty"] = cfg_save["difficulty"];
|
||||
cfg_summary["random_mode"] = cfg_save["random_mode"];
|
||||
|
||||
cfg_summary["active_mods"] = cfg_save.child("multiplayer")["active_mods"];
|
||||
if(cfg_save.has_child("multiplayer")) {
|
||||
cfg_summary["active_mods"] = cfg_save.child("multiplayer")["active_mods"];
|
||||
} else {
|
||||
cfg_summary["active_mods"] = "";
|
||||
}
|
||||
cfg_summary["campaign"] = cfg_save["campaign"];
|
||||
cfg_summary["version"] = cfg_save["version"];
|
||||
cfg_summary["corrupt"] = "";
|
||||
|
|
Loading…
Add table
Reference in a new issue