mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
Fix not displaying rooms when world isn't cached
This commit is contained in:
+3
-1
@@ -9035,6 +9035,9 @@ speechSynthesis.getVoices();
|
|||||||
D.fileSize = 'Loading';
|
D.fileSize = 'Loading';
|
||||||
D.visible = true;
|
D.visible = true;
|
||||||
D.loading = true;
|
D.loading = true;
|
||||||
|
D.inCache = false;
|
||||||
|
D.cacheSize = 0;
|
||||||
|
D.rooms = [];
|
||||||
API.getCachedWorld({
|
API.getCachedWorld({
|
||||||
worldId: L.worldId
|
worldId: L.worldId
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
@@ -9046,7 +9049,6 @@ speechSynthesis.getVoices();
|
|||||||
D.loading = false;
|
D.loading = false;
|
||||||
D.ref = args.ref;
|
D.ref = args.ref;
|
||||||
D.isFavorite = API.cachedFavoritesByObjectId.has(D.id);
|
D.isFavorite = API.cachedFavoritesByObjectId.has(D.id);
|
||||||
D.rooms = [];
|
|
||||||
this.updateVRChatCache();
|
this.updateVRChatCache();
|
||||||
if (args.cache) {
|
if (args.cache) {
|
||||||
API.getWorld(args.params);
|
API.getWorld(args.params);
|
||||||
|
|||||||
Reference in New Issue
Block a user