summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_config.cpp b/src/ai/ai_config.cpp
index 4ec500935..8333fcf40 100644
--- a/src/ai/ai_config.cpp
+++ b/src/ai/ai_config.cpp
@@ -71,7 +71,7 @@ AIInfo *AIConfig::GetInfo()
bool AIConfig::ResetInfo()
{
- this->info = AI::FindInfo(this->name, this->version);
+ this->info = AI::FindInfo(this->name, -1);
return this->info != NULL;
}