From 80b6ca2b86d50915e9c916d964a3ae164066b340 Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Thu, 4 Aug 2016 16:47:10 -0700 Subject: [PATCH] single call to istooclose --- scripts/system/controllers/teleport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/controllers/teleport.js b/scripts/system/controllers/teleport.js index a67a8521f2..8357643629 100644 --- a/scripts/system/controllers/teleport.js +++ b/scripts/system/controllers/teleport.js @@ -414,7 +414,7 @@ function Teleporter() { } if (this.intersection !== null) { - if (isTooCloseToTeleport(this.intersection.intersection)) { + if (this.tooClose===true) { this.deleteTargetOverlay(); this.exitTeleportMode(); return;