mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 12:38:27 +02:00
single call to istooclose
This commit is contained in:
parent
fb8263a882
commit
80b6ca2b86
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue