Fixed RCA AI not being loaded for standard multiplayer games.
(Fixed bug #16607 along the way.)
This commit is contained in:
parent
7f1ded77b8
commit
9735175159
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ connect::side::side(connect& parent, const config& cfg, int index) :
|
|||
|
||||
if (const config &ai = cfg.child("ai"))
|
||||
ai_algorithm_ = ai["ai_algorithm"].str();
|
||||
else if (!parent_->ai_algorithms_.empty())
|
||||
ai_algorithm_ = parent_->ai_algorithms_[0]->id;
|
||||
else
|
||||
ai_algorithm_ = "default";
|
||||
init_ai_algorithm_combo();
|
||||
|
|
Loading…
Add table
Reference in a new issue