Attempt to fix multiple leaders appearing in save_index
This commit is contained in:
parent
eb2cff007b
commit
b09bd5bbb5
1 changed files with 3 additions and 0 deletions
|
@ -367,6 +367,9 @@ void extract_summary_from_config(config& cfg_save, config& cfg_summary)
|
|||
}
|
||||
}
|
||||
|
||||
// Ensure we don't get duplicate [leader] tags
|
||||
cfg_summary.clear_children("leader");
|
||||
|
||||
// Find the human leaders so we can display their icons and names in the load menu.
|
||||
config leader_config;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue