This commit is contained in:
Zixaphir 2013-04-11 00:16:57 -07:00
parent 41b96cd4c3
commit e4d5778a46
3 changed files with 4 additions and 4 deletions

View File

@ -4267,7 +4267,7 @@
} }
if (!(mascot = Mascots[Conf["mascot"]])) { if (!(mascot = Mascots[Conf["mascot"]])) {
Conf[g.MASCOTSTRING].remove(Conf["mascot"]); Conf[g.MASCOTSTRING].remove(Conf["mascot"]);
return this.init(); return MascotTools.init();
} }
MascotTools.addMascot(mascot); MascotTools.addMascot(mascot);
} }
@ -12737,7 +12737,7 @@
$.get("userMascots", {}, function(item) { $.get("userMascots", {}, function(item) {
var mascot, name, _ref; var mascot, name, _ref;
_ref = item["userMasctos"]; _ref = item["userMascots"];
for (name in _ref) { for (name in _ref) {
mascot = _ref[name]; mascot = _ref[name];
Mascots[name] = mascot; Mascots[name] = mascot;

View File

@ -1023,7 +1023,7 @@ MascotTools =
unless mascot = Mascots[Conf["mascot"]] unless mascot = Mascots[Conf["mascot"]]
Conf[g.MASCOTSTRING].remove Conf["mascot"] Conf[g.MASCOTSTRING].remove Conf["mascot"]
return @init() return MascotTools.init()
MascotTools.addMascot mascot MascotTools.addMascot mascot

View File

@ -334,7 +334,7 @@ Main =
return return
$.get "userMascots", {}, (item) -> $.get "userMascots", {}, (item) ->
for name, mascot of item["userMasctos"] for name, mascot of item["userMascots"]
Mascots[name] = mascot Mascots[name] = mascot
return return