Fixed generateLocal()
not utilising season override
This commit is contained in:
parent
b36e0c2282
commit
0699b5be9b
@ -41,9 +41,12 @@ export class WeatherController {
|
|||||||
return this.weatherHelper.getInRaidTime();
|
return this.weatherHelper.getInRaidTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
public generateLocal(sesssionID: string): IGetLocalWeatherResponseData {
|
public generateLocal(sesssionId: string): IGetLocalWeatherResponseData {
|
||||||
const result: IGetLocalWeatherResponseData = {
|
const result: IGetLocalWeatherResponseData = {
|
||||||
season: this.seasonalEventService.getActiveWeatherSeason(),
|
season:
|
||||||
|
this.weatherConfig.overrideSeason !== null
|
||||||
|
? this.weatherConfig.overrideSeason
|
||||||
|
: this.seasonalEventService.getActiveWeatherSeason(),
|
||||||
weather: [],
|
weather: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user