mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 13:36:04 +02:00
Fix cached worlds not showing in user dialog, Fix "Error" world size
This commit is contained in:
+4
-4
@@ -17349,8 +17349,7 @@ speechSynthesis.getVoices();
|
|||||||
},
|
},
|
||||||
done: () => {
|
done: () => {
|
||||||
if (D.id === params.userId) {
|
if (D.id === params.userId) {
|
||||||
var array = Array.from(map.values());
|
this.setUserDialogWorlds(D.id);
|
||||||
$app.userDialog.worlds = array;
|
|
||||||
}
|
}
|
||||||
D.isWorldsLoading = false;
|
D.isWorldsLoading = false;
|
||||||
}
|
}
|
||||||
@@ -24407,9 +24406,10 @@ speechSynthesis.getVoices();
|
|||||||
''
|
''
|
||||||
);
|
);
|
||||||
// limit to 8 characters because 2019.4.31f1c1 is a thing
|
// limit to 8 characters because 2019.4.31f1c1 is a thing
|
||||||
currentUnityVersion = currentUnityVersion.slice(0, 8);
|
// limit to 7 characters because 2022361 is a thing
|
||||||
|
currentUnityVersion = currentUnityVersion.slice(0, 7);
|
||||||
var assetVersion = version.replace(/\D/g, '');
|
var assetVersion = version.replace(/\D/g, '');
|
||||||
assetVersion = assetVersion.slice(0, 8);
|
assetVersion = assetVersion.slice(0, 7);
|
||||||
if (parseInt(assetVersion, 10) <= parseInt(currentUnityVersion, 10)) {
|
if (parseInt(assetVersion, 10) <= parseInt(currentUnityVersion, 10)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user