mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
replace messageBought with messageUnEquipped in the equip function
Users are getting "Bought <item name>" messages when they take off their equipment.
This commit is contained in:
parent
a7a3abd462
commit
9f97b5528a
1 changed files with 1 additions and 1 deletions
2
dist/habitrpg-shared.js
vendored
2
dist/habitrpg-shared.js
vendored
|
|
@ -12971,7 +12971,7 @@ api.wrap = function(user, main) {
|
|||
item = content.gear.flat[key];
|
||||
if (user.items.gear[type][item.type] === key) {
|
||||
user.items.gear[type][item.type] = "" + item.type + "_base_0";
|
||||
message = i18n.t('messageBought', {
|
||||
message = i18n.t('messageUnEquipped', {
|
||||
itemText: item.text(req.language)
|
||||
}, req.language);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue