Save Index: fixed leader TC coloring always being default (fixup ff5d68f9f5
)
I was using the unit config instead of the side config :( Closes #2255. This is the proper fix.
This commit is contained in:
parent
f61138498c
commit
dcd93bbd13
1 changed files with 2 additions and 2 deletions
|
@ -407,8 +407,8 @@ void extract_summary_from_config(config& cfg_save, config& cfg_summary)
|
|||
continue;
|
||||
}
|
||||
|
||||
const std::string tc_color = team::get_side_color_id_from_config(u);
|
||||
|
||||
const std::string tc_color = team::get_side_color_id_from_config(side);
|
||||
|
||||
// Don't count it among the troops
|
||||
units--;
|
||||
leader = u["id"].str();
|
||||
|
|
Loading…
Add table
Reference in a new issue