OnPlayerJoining when user comes online into an instance

This commit is contained in:
Natsumi
2021-10-19 01:32:11 +13:00
parent b32059c131
commit e84775c12b

View File

@@ -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]) {