Fix another bug in statistics code, spotted by ott this time.
This commit is contained in:
parent
eeba7ed1f4
commit
b8bf547759
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ void stats::read(const config& cfg)
|
|||
}
|
||||
|
||||
if(cfg.child("defends")) {
|
||||
attacks = read_battle_result_map(*cfg.child("attacks"));
|
||||
defends = read_battle_result_map(*cfg.child("defends"));
|
||||
}
|
||||
|
||||
recruit_cost = atoi(cfg["recruit_cost"].c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue