Disable Instantiate check for now

This commit is contained in:
Natsumi
2022-01-05 07:15:44 +13:00
parent 58b8bc53ad
commit a7e60ccf54
+8 -7
View File
@@ -8286,14 +8286,15 @@ speechSynthesis.getVoices();
text = 'User has joined invisible'; text = 'User has joined invisible';
} else if (avatarEyeHeight < 0) { } else if (avatarEyeHeight < 0) {
text = 'Photon bot has joined, invalid avatarEyeHeight'; text = 'Photon bot has joined, invalid avatarEyeHeight';
} else if (
joinTime &&
joinTime + 10000 < dtNow &&
!hasInstantiated
) {
text =
'Photon bot has joined, failed to instantiate after 10 seconds';
} }
// else if (
// joinTime &&
// joinTime + 10000 < dtNow &&
// !hasInstantiated
// ) {
// text =
// 'Photon bot has joined, failed to instantiate after 10 seconds';
// }
if (text && id !== this.photonLobbyCurrentUser) { if (text && id !== this.photonLobbyCurrentUser) {
if (!this.photonLobbyBots.includes(id)) { if (!this.photonLobbyBots.includes(id)) {
this.addEntryPhotonEvent({ this.addEntryPhotonEvent({