Fixed generateLocal() not utilising season override

This commit is contained in:
Dev 2024-10-16 18:36:49 +01:00
parent b36e0c2282
commit 0699b5be9b

View File

@ -41,9 +41,12 @@ export class WeatherController {
return this.weatherHelper.getInRaidTime();
}
public generateLocal(sesssionID: string): IGetLocalWeatherResponseData {
public generateLocal(sesssionId: string): IGetLocalWeatherResponseData {
const result: IGetLocalWeatherResponseData = {
season: this.seasonalEventService.getActiveWeatherSeason(),
season:
this.weatherConfig.overrideSeason !== null
? this.weatherConfig.overrideSeason
: this.seasonalEventService.getActiveWeatherSeason(),
weather: [],
};