Add missing property

This commit is contained in:
Dev 2023-12-27 19:12:42 +00:00
parent 99eaeeb63b
commit dccb356f62

View File

@ -24,7 +24,7 @@ export class WeatherController
/** Handle client/weather */
public generate(): IWeatherData
{
let result: IWeatherData = { acceleration: 0, time: "", date: "", weather: null };
let result: IWeatherData = { acceleration: 0, time: "", date: "", weather: null, winterEventEnabled: false };
result = this.weatherGenerator.calculateGameTime(result);
result.weather = this.weatherGenerator.generateWeather();