fix bug #5901
This commit is contained in:
parent
934d32b044
commit
702c3f9ad2
1 changed files with 1 additions and 0 deletions
|
@ -1034,6 +1034,7 @@ void unit::read(const config& cfg)
|
|||
}
|
||||
if(utils::string_bool(cfg["generate_description"])) {
|
||||
custom_unit_description_ = generate_description();
|
||||
cfg_["generate_description"] = "";
|
||||
}
|
||||
|
||||
if(!type_set) {
|
||||
|
|
Loading…
Add table
Reference in a new issue