From e84775c12b0c9dcc86f73627882e490d40c09116 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Tue, 19 Oct 2021 01:32:11 +1300 Subject: [PATCH] OnPlayerJoining when user comes online into an instance --- html/src/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 4cadf543..0234ebec 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -4163,6 +4163,7 @@ speechSynthesis.getVoices(); var locationBias = Date.now() - 30000; // 30 seconds if ( this.isGameRunning && + this.lastLocation.location && L.accessType !== 'friends' && this.lastLocation.date < locationBias && (this.sharedFeedFilters.wrist.OnPlayerJoining === 'Friends' || @@ -4179,7 +4180,7 @@ speechSynthesis.getVoices(); break; } if ( - ctx.type === 'GPS' && + (ctx.type === 'GPS' || ctx.type === 'Online') && ctx.location === this.lastLocation.location ) { if (joiningMap[ctx.displayName]) {