Fixed calculateGameTime()
not correctly handling overrideSeason
property
This commit is contained in:
parent
6a171919a1
commit
b36e0c2282
@ -46,7 +46,8 @@ export class WeatherGenerator {
|
|||||||
data.time = this.getBsgFormattedInRaidTime();
|
data.time = this.getBsgFormattedInRaidTime();
|
||||||
data.acceleration = this.weatherConfig.acceleration;
|
data.acceleration = this.weatherConfig.acceleration;
|
||||||
|
|
||||||
data.season = this.weatherConfig.overrideSeason
|
data.season =
|
||||||
|
this.weatherConfig.overrideSeason !== null
|
||||||
? this.weatherConfig.overrideSeason
|
? this.weatherConfig.overrideSeason
|
||||||
: this.seasonalEventService.getActiveWeatherSeason();
|
: this.seasonalEventService.getActiveWeatherSeason();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user