fix bug #6298
This commit is contained in:
parent
72eda2322f
commit
fe1c3a29b4
1 changed files with 3 additions and 0 deletions
|
@ -1107,6 +1107,9 @@ void unit::read(const config& cfg)
|
|||
if(custom_unit_desc != "") {
|
||||
cfg_["unit_description"] = custom_unit_desc;
|
||||
}
|
||||
|
||||
cfg_["profile"] = cfg["profile"];
|
||||
|
||||
if(!type_set) {
|
||||
for(config::const_child_itors range = cfg.child_range("attack");
|
||||
range.first != range.second; ++range.first) {
|
||||
|
|
Loading…
Add table
Reference in a new issue