chore: lintfix
This commit is contained in:
parent
1474a13b73
commit
6cc6f94dd4
|
@ -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 = {
|
||||
|
|
Reference in New Issue