Fix #425
This commit is contained in:
parent
d279b1f499
commit
3ac1e4bc89
@ -11607,7 +11607,7 @@
|
||||
if (!(len = enabled.length)) {
|
||||
return;
|
||||
}
|
||||
name = enabled[i = Math.floor(Math.random() * len)];
|
||||
Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)];
|
||||
if (!(mascot = Mascots[name])) {
|
||||
enabled.splice(i, 1);
|
||||
if (el) {
|
||||
|
||||
@ -11599,7 +11599,7 @@
|
||||
if (!(len = enabled.length)) {
|
||||
return;
|
||||
}
|
||||
name = enabled[i = Math.floor(Math.random() * len)];
|
||||
Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)];
|
||||
if (!(mascot = Mascots[name])) {
|
||||
enabled.splice(i, 1);
|
||||
if (el) {
|
||||
|
||||
@ -50,7 +50,7 @@ MascotTools =
|
||||
enabled = Conf[string]
|
||||
return unless len = enabled.length
|
||||
|
||||
name = enabled[i = Math.floor(Math.random() * len)]
|
||||
Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]
|
||||
|
||||
unless mascot = Mascots[name]
|
||||
enabled.splice i, 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user