From 1e6aba19287fa05b58460c90f3a91c84456c5eb7 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 4 Oct 2016 11:56:36 -0700 Subject: [PATCH] Fix teleport not removing overlay on teleport --- scripts/system/controllers/teleport.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/system/controllers/teleport.js b/scripts/system/controllers/teleport.js index 2abc6fe057..6d13b41d4f 100644 --- a/scripts/system/controllers/teleport.js +++ b/scripts/system/controllers/teleport.js @@ -512,6 +512,9 @@ function Teleporter() { // Disable smooth arrival, possibly temporarily //this.smoothArrival(); MyAvatar.position = _this.intersection.intersection; + _this.deleteTargetOverlay(); + _this.deleteCancelOverlay(); + HMD.centerUI(); } };