fix: missions that cost spare time now deduct spare time

This commit is contained in:
pskfyi 2022-01-10 22:01:14 -08:00 committed by John McCardle
commit e0b8bd00c1

View file

@ -68,6 +68,9 @@ export default {
methods: {
complete(mission) {
this.$store.commit('completeMission', mission.name)
if (mission.completionCriteria.unit === 'spareTime') {
this.$store.commit('spendCurrency', mission.completionCriteria.value)
}
},
},
}