chore: update data for instruments; fix instrument ticking

This commit is contained in:
pskfyi 2022-01-11 20:24:29 -08:00 committed by pskfyi
commit c8cb271052
2 changed files with 174 additions and 111 deletions

View file

@ -60,16 +60,10 @@ export default {
const reward = process.baseReward * (1 + process.workerLevel)
this.$store.commit('addCurrency', reward)
this.$store.commit('setProcessCompletion', {
index,
value: 0,
})
this.$store.commit('resetProcess', { process })
}
this.$store.commit('setProcessCompletion', {
index,
value: process.completion + 1,
})
this.$store.commit('tickProcess', { process })
})
},
},