mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Disable player on joining for friends only instances
VRChat pls fix
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user