chore: lintfix

This commit is contained in:
John McCardle 2022-01-09 18:34:50 -05:00
parent 1474a13b73
commit 6cc6f94dd4
1 changed files with 17 additions and 17 deletions

View File

@ -132,19 +132,19 @@ export const state = () => ({
],
gameDate: {
month: 12,
year: 1990
year: 1990,
},
playerAge: {
month: 0,
year: 34
year: 34,
},
playerAgeMax: {
month: 0,
year: 80
year: 80,
},
playerLivedTotal: {
month: 0,
year: 0
year: 0,
},
wisdomGained: 0, // wisdom gained so far on this run, not applied until player sends the book.
wisdomApplied: 0, // wisdom from previous runs
@ -168,8 +168,8 @@ export const getters = {
canTimeTravel: (state) => {
if (state.playerAge.year < state.playerAgeMax.year) return true
if (state.playerAge.year > state.playerAgeMax.year) return false
return (state.playerAge.month < state.playerAgeMax.month)
}
return state.playerAge.month < state.playerAgeMax.month
},
}
export const mutations = {