Fixed calculateGameTime() not correctly handling overrideSeason property

This commit is contained in:
Dev 2024-10-16 18:30:04 +01:00
parent 6a171919a1
commit b36e0c2282

View File

@ -46,7 +46,8 @@ export class WeatherGenerator {
data.time = this.getBsgFormattedInRaidTime();
data.acceleration = this.weatherConfig.acceleration;
data.season = this.weatherConfig.overrideSeason
data.season =
this.weatherConfig.overrideSeason !== null
? this.weatherConfig.overrideSeason
: this.seasonalEventService.getActiveWeatherSeason();