Fix AI error

This commit is contained in:
cim 2013-12-12 20:17:58 +00:00
parent 7944657206
commit 609339826c

View File

@ -3017,7 +3017,9 @@ PriorityAIController.prototype.behaviourFollowCurrentTarget = function()
{
var rt = this.getParameter("oolite_rememberedTarget");
}
if (!rt) {
return;
}
this.ship.destination = rt.position;
if (rt.status == "STATUS_ENTERING_WITCHSPACE")