mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 21:23:18 +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 (isTooCloseToTeleport(this.intersection.intersection)) {
|
||||
if (this.tooClose===true) {
|
||||
this.deleteTargetOverlay();
|
||||
this.exitTeleportMode();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue