From 48f70be5f86bfcf7c34a28b6623dc12257d7dd64 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 20 Aug 2009 10:45:57 +0000 Subject: [PATCH] (svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed as they should --- src/ai/ai_instance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index 6e1ffa0c16..0562cccb83 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -606,6 +606,7 @@ void AIInstance::Save() /* The script crashed in the Save function. We can't kill * it here, but do so in the next AI tick. */ SaveEmpty(); + this->engine->CrashOccurred(); return; } AIObject::SetAllowDoCommand(backup_allow);