mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 02:33:48 +02:00
Fix CheckVRChatCache erroring for non variants
This commit is contained in:
@@ -5444,7 +5444,9 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const params = new URLSearchParams(new URL(url).search);
|
const params = new URLSearchParams(new URL(url).search);
|
||||||
return params.get('v');
|
let version = params.get('v');
|
||||||
|
if (version) return version;
|
||||||
|
return '0'
|
||||||
} catch {
|
} catch {
|
||||||
return '0';
|
return '0';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user