diff --git a/website/client/store/actions/shops.js b/website/client/store/actions/shops.js index 5efe395f74..9c6ba016dd 100644 --- a/website/client/store/actions/shops.js +++ b/website/client/store/actions/shops.js @@ -53,20 +53,12 @@ async function buyArmoire (store, params) { const item = resData.armoire; const isExperience = item.type === 'experience'; - if (item.type === 'gear') { store.state.user.data.items.gear.owned[item.dropKey] = true; } + store.state.user.data.stats.gp -= armoire.value; // @TODO: We might need to abstract notifications to library rather than mixin - store.dispatch('snackbars:add', { - title: '', - text: `- ${armoire.value}`, - type: 'gp', - icon: '', - sign: '-', - timeout: true, - }); store.dispatch('snackbars:add', { title: '', text: isExperience ? item.value : item.dropText,