From dccb356f62e22f3e0a8af96cd5a4bee60242f65e Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 27 Dec 2023 19:12:42 +0000 Subject: [PATCH] Add missing property --- project/src/controllers/WeatherController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/controllers/WeatherController.ts b/project/src/controllers/WeatherController.ts index 7c695b91..36c7e962 100644 --- a/project/src/controllers/WeatherController.ts +++ b/project/src/controllers/WeatherController.ts @@ -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();