This commit is contained in:
Zixaphir 2013-08-15 23:41:50 -07:00
parent d279b1f499
commit 3ac1e4bc89
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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