mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
OnPlayerJoining when user comes online into an instance
This commit is contained in:
@@ -4163,6 +4163,7 @@ speechSynthesis.getVoices();
|
|||||||
var locationBias = Date.now() - 30000; // 30 seconds
|
var locationBias = Date.now() - 30000; // 30 seconds
|
||||||
if (
|
if (
|
||||||
this.isGameRunning &&
|
this.isGameRunning &&
|
||||||
|
this.lastLocation.location &&
|
||||||
L.accessType !== 'friends' &&
|
L.accessType !== 'friends' &&
|
||||||
this.lastLocation.date < locationBias &&
|
this.lastLocation.date < locationBias &&
|
||||||
(this.sharedFeedFilters.wrist.OnPlayerJoining === 'Friends' ||
|
(this.sharedFeedFilters.wrist.OnPlayerJoining === 'Friends' ||
|
||||||
@@ -4179,7 +4180,7 @@ speechSynthesis.getVoices();
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
ctx.type === 'GPS' &&
|
(ctx.type === 'GPS' || ctx.type === 'Online') &&
|
||||||
ctx.location === this.lastLocation.location
|
ctx.location === this.lastLocation.location
|
||||||
) {
|
) {
|
||||||
if (joiningMap[ctx.displayName]) {
|
if (joiningMap[ctx.displayName]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user