summaryrefslogtreecommitdiff
path: root/src/ai/ai_instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/ai_instance.cpp')
-rw-r--r--src/ai/ai_instance.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index b99b8a108..45e142c24 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -122,10 +122,7 @@ void AIInstance::Initialize(AIInfo *info)
this->controller = new AIController();
- /* The import method is available at a very early stage */
- this->engine->AddMethod("import", &AILibrary::Import, 4, ".ssi");
-
- /* Register the AIController */
+ /* Register the AIController (including the "import" command) */
SQAIController_Register(this->engine);
/* Register the API functions and classes */