single call to istooclose

This commit is contained in:
James B. Pollack 2016-08-04 16:47:10 -07:00
parent fb8263a882
commit 80b6ca2b86

View file

@ -414,7 +414,7 @@ function Teleporter() {
} }
if (this.intersection !== null) { if (this.intersection !== null) {
if (isTooCloseToTeleport(this.intersection.intersection)) { if (this.tooClose===true) {
this.deleteTargetOverlay(); this.deleteTargetOverlay();
this.exitTeleportMode(); this.exitTeleportMode();
return; return;