From c302ebfd4c4f0969b5abd10e510c8c49ba81d35c Mon Sep 17 00:00:00 2001 From: Natsumi Date: Fri, 25 Jun 2021 18:21:01 +1200 Subject: [PATCH] Remove instance flag from home location --- html/src/app.js | 2 +- html/src/vr.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index de56a17a..7b2bf597 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -819,7 +819,7 @@ speechSynthesis.getVoices(); } } this.region = ''; - if ((this.location !== '') && (!L.isOffline) && (!L.isPrivate)) { + if ((this.location !== '') && (L.instanceId) && (!L.isOffline) && (!L.isPrivate)) { if (L.region === 'eu') { this.region = 'europeanunion'; } else if (L.region === 'jp') { diff --git a/html/src/vr.js b/html/src/vr.js index e8f24a4e..13057f19 100644 --- a/html/src/vr.js +++ b/html/src/vr.js @@ -502,7 +502,7 @@ speechSynthesis.getVoices(); } } this.region = ''; - if ((this.location !== '') && (!L.isOffline) && (!L.isPrivate)) { + if ((this.location !== '') && (L.instanceId) && (!L.isOffline) && (!L.isPrivate)) { if (L.region === 'eu') { this.region = 'europeanunion'; } else if (L.region === 'jp') {