Fetch current lobby users on VRCX restart

This commit is contained in:
Natsumi
2022-06-24 23:43:36 +12:00
parent d2a2e7e275
commit d5c56172e3
+6
View File
@@ -7546,6 +7546,12 @@ speechSynthesis.getVoices();
this.lastLocation.friendList.delete(ctx.displayName); this.lastLocation.friendList.delete(ctx.displayName);
} }
} }
this.lastLocation.playerList.forEach((ref1) => {
if (ref1.userId && !API.cachedUsers.has(ref1.userId)) {
API.getUser({userId: ref1.userId});
}
});
this.updateVRLastLocation(); this.updateVRLastLocation();
this.getCurrentInstanceUserList(); this.getCurrentInstanceUserList();
} }