Fix portraits not showing up. ;)
This commit is contained in:
parent
04055929ed
commit
ef66ef0b11
1 changed files with 3 additions and 1 deletions
|
@ -1138,7 +1138,9 @@ void unit::read(const config& cfg)
|
|||
cfg_["unit_description"] = custom_unit_desc;
|
||||
}
|
||||
|
||||
cfg_["profile"] = cfg["profile"];
|
||||
if(cfg["profile"] != "") {
|
||||
cfg_["profile"] = cfg["profile"];
|
||||
}
|
||||
|
||||
if(!type_set) {
|
||||
for(config::const_child_itors range = cfg.child_range("attack");
|
||||
|
|
Loading…
Add table
Reference in a new issue