diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index cdbae2db0f..3587208b2b 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -15640,8 +15640,9 @@ api.wrap = function(user, main) { message: i18n.t('notEnoughGems', req.language) }) : void 0; } else { - user.balance -= 1; + user.balance -= 1.5; user.items.currentMount = ""; + user.items.currentPet = ""; for (animal in content.pets) { user.items.pets[animal] = 0; user.items.mounts[animal] = null; diff --git a/script/index.coffee b/script/index.coffee index a525d9f19d..75e1023746 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -762,8 +762,9 @@ api.wrap = (user, main=true) -> if user.balance < 1.5 return cb? {code:401,message: i18n.t('notEnoughGems', req.language)} else - user.balance -= 1 + user.balance -= 1.5 user.items.currentMount = "" + user.items.currentPet = "" for animal of content.pets user.items.pets[animal] = 0 user.items.mounts[animal] = null