From 3dd775235d0090d2ae8e8d950f9e76e22dd45074 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 3 Dec 2014 19:05:54 -0700 Subject: [PATCH] fix(): remove some logs --- dist/habitrpg-shared.js | 1 - script/index.coffee | 2 -- 2 files changed, 3 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 177d1e52c9..3d6afa74e9 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -15233,7 +15233,6 @@ api.wrap = function(user, main) { _.each(mysterySet.items, function(i) { return user.items.gear.owned[i.key] = true; }); - console.log(user.items.gear.owned); user.purchased.plan.consecutive.trinkets--; return typeof cb === "function" ? cb(null, _.pick(user, $w('items purchased.plan.consecutive'))) : void 0; }, diff --git a/script/index.coffee b/script/index.coffee index 8e2ccec35a..c6386868aa 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -766,12 +766,10 @@ api.wrap = (user, main=true) -> buyMysterySet: (req, cb)-> return cb?({code:401, message:"You don't have enough Mystic Hourglasses"}) unless user.purchased.plan.consecutive.trinkets>0 mysterySet = content.timeTravelerStore(user.items.gear.owned)?[req.params.key] -# console.log {mysterySet, key:req.params.key, store:content.timeTravelerStore(user.items.gear.owned), mysteryItems:content.mystery} if window?.confirm? return unless window.confirm("Buy this full set of items for 1 Mystic Hourglass?") return cb?({code:404, message:"Mystery set not found, or set already owned"}) unless mysterySet _.each mysterySet.items, (i)->user.items.gear.owned[i.key]=true - console.log(user.items.gear.owned) user.purchased.plan.consecutive.trinkets-- cb? null, _.pick(user,$w 'items purchased.plan.consecutive')