mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
fix(purchasing): typo "substract"
This commit is contained in:
parent
f527221079
commit
6d9aa43c07
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ export class BuyArmoireOperation extends AbstractGoldItemOperation {
|
|||
result = this._experienceResult(user);
|
||||
}
|
||||
|
||||
this.substractCurrency(user, item);
|
||||
this.subtractCurrency(user, item);
|
||||
|
||||
let {message, armoireResp} = result;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export class BuyHealthPotionOperation extends AbstractGoldItemOperation {
|
|||
user.stats.hp = 50;
|
||||
}
|
||||
|
||||
this.substractCurrency(user, item, this.quantity);
|
||||
this.subtractCurrency(user, item, this.quantity);
|
||||
|
||||
let message = this.i18n('messageBought', {
|
||||
itemText: this.item.text(this.req.language),
|
||||
|
|
|
|||
Loading…
Reference in a new issue