(svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
info = AI::ai_scanner->SelectRandomAI();
|
||||
assert(info != NULL);
|
||||
/* Load default data and store the name in the settings */
|
||||
AIConfig::GetConfig(company)->ChangeAI(info->GetInstanceName());
|
||||
AIConfig::GetConfig(company)->ChangeAI(info->GetName());
|
||||
}
|
||||
|
||||
_current_company = company;
|
||||
|
Reference in New Issue
Block a user