From 0cb004e1d29da1bdc78b7bff5d567ca70562f412 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 20 Aug 2009 10:45:57 +0000 Subject: (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(+) (limited to 'src/ai') diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index 6e1ffa0c1..0562cccb8 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); -- cgit v1.2.3-54-g00ecf