mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Cursed caching bug fix
This commit is contained in:
@@ -2985,8 +2985,9 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
API.refreshFavoriteAvatars = function (tag) {
|
||||
var n = Math.floor(Math.random() * (50 + 1)) + 50;
|
||||
var params = {
|
||||
n: 100,
|
||||
n,
|
||||
offset: 0,
|
||||
tag
|
||||
};
|
||||
@@ -3017,22 +3018,24 @@ speechSynthesis.getVoices();
|
||||
if (N > 0) {
|
||||
if (type === 'avatar') {
|
||||
for (var tag of tags) {
|
||||
var n = Math.floor(Math.random() * (50 + 1)) + 50;
|
||||
this.bulk({
|
||||
fn,
|
||||
N,
|
||||
params: {
|
||||
n: 100,
|
||||
n,
|
||||
offset: 0,
|
||||
tag
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
var n = Math.floor(Math.random() * (50 + 1)) + 50;
|
||||
this.bulk({
|
||||
fn,
|
||||
N,
|
||||
params: {
|
||||
n: 50,
|
||||
n,
|
||||
offset: 0
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user