(svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed as they should

This commit is contained in:
yexo
2009-08-20 10:45:57 +00:00
parent 6b0520b3b4
commit 48f70be5f8

View File

@@ -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);