diff --git a/src/ai/ai_scanner.cpp b/src/ai/ai_scanner.cpp index 860a8d7cdd..f5c1231a8a 100644 --- a/src/ai/ai_scanner.cpp +++ b/src/ai/ai_scanner.cpp @@ -162,6 +162,7 @@ AIScanner::AIScanner() : /* Create the dummy AI */ this->engine->ResetCrashed(); + strcpy(this->main_script, "%_dummy"); extern void AI_CreateAIInfoDummy(HSQUIRRELVM vm); AI_CreateAIInfoDummy(this->engine->GetVM()); }