summaryrefslogtreecommitdiff
path: root/src/ai/ai_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_core.cpp')
-rw-r--r--src/ai/ai_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp
index ffb2ad04b..406b2ecbd 100644
--- a/src/ai/ai_core.cpp
+++ b/src/ai/ai_core.cpp
@@ -40,7 +40,7 @@
info = AI::ai_scanner->SelectRandomAI();
assert(info != NULL);
/* Load default data and store the name in the settings */
- AIConfig::GetConfig(company)->ChangeAI(info->GetDirName());
+ AIConfig::GetConfig(company)->ChangeAI(info->GetInstanceName());
}
_current_company = company;