From 5510d5746dbdd398d9e07689006d92b9f7f862c9 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Wed, 7 Jul 2021 21:32:34 +1200 Subject: [PATCH] Disable player on joining for friends only instances VRChat pls fix --- 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 d326daf7..132f6a28 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -3948,8 +3948,9 @@ speechSynthesis.getVoices(); var notyFeed = []; notyFeed = notyFeed.concat(feeds.gameLog.noty, feeds.feedTable.noty, feeds.notificationTable.noty, feeds.friendLogTable.noty); // OnPlayerJoining + var L = API.parseLocation(this.lastLocation.location); //WebSocket dosen't update friend only instances var locationBias = Date.now() - 30000; //30 seconds - if ((this.isGameRunning) && (this.lastLocation.date < locationBias) && + if ((this.isGameRunning) && (L.accessType !== 'friends') && (this.lastLocation.date < locationBias) && ((this.sharedFeedFilters.wrist.OnPlayerJoining === 'Friends') || (this.sharedFeedFilters.wrist.OnPlayerJoining === 'VIP') || (this.sharedFeedFilters.noty.OnPlayerJoining === 'Friends') || (this.sharedFeedFilters.noty.OnPlayerJoining === 'VIP'))) { var joiningMap = [];