From 91ff0c6647df77f4855fa27ed0a46bc020102ffb Mon Sep 17 00:00:00 2001 From: cim Date: Sun, 1 Dec 2013 12:36:32 +0000 Subject: [PATCH] Fix witchspace entry error for assassins --- Resources/Scripts/oolite-priorityai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Scripts/oolite-priorityai.js b/Resources/Scripts/oolite-priorityai.js index 1e91ea13..f67d1e80 100644 --- a/Resources/Scripts/oolite-priorityai.js +++ b/Resources/Scripts/oolite-priorityai.js @@ -5669,7 +5669,7 @@ PriorityAIController.prototype.responseComponent_scooping_shipScoopedFuel = func PriorityAIController.prototype.responseComponent_trackPlayer_playerWillEnterWitchspace = function() { var wormhole = this.getParameter("oolite_witchspaceWormhole"); - if (wormhole != null) + if (wormhole != null && wormhole.isWormhole) { this.ship.enterWormhole(wormhole); }