chore: update data for instruments; fix instrument ticking
This commit is contained in:
parent
8dfbd31ebb
commit
c8cb271052
2 changed files with 174 additions and 111 deletions
|
|
@ -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 })
|
||||
})
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue