Removed weather effects booleans, now to disable weather effects, setting the value to 0 is the way
This commit is contained in:
@ -15,9 +15,10 @@ export const useGameStore = defineStore('game', {
|
||||
character: null as Character | null,
|
||||
world: {
|
||||
date: new Date(),
|
||||
isRainEnabled: false,
|
||||
isFogEnabled: false,
|
||||
fogDensity: 0
|
||||
weatherState: {
|
||||
rainPercentage: 0,
|
||||
fogDensity: 0
|
||||
}
|
||||
} as WorldSettings,
|
||||
game: {
|
||||
isLoading: false,
|
||||
@ -119,9 +120,8 @@ export const useGameStore = defineStore('game', {
|
||||
this.uiSettings.isGmPanelOpen = false
|
||||
|
||||
this.world.date = new Date()
|
||||
this.world.isRainEnabled = false
|
||||
this.world.isFogEnabled = false
|
||||
this.world.fogDensity = 0
|
||||
this.world.weatherState.rainPercentage = 0
|
||||
this.world.weatherState.fogDensity = 0
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user