diff --git a/project/src/controllers/WeatherController.ts b/project/src/controllers/WeatherController.ts index dbaa3be2..becef9f5 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, season: 1 }; + let result: IWeatherData = { acceleration: 0, time: "", date: "", weather: null, season: 1 }; // defaults, hydrated below result = this.weatherGenerator.calculateGameTime(result); result.weather = this.weatherGenerator.generateWeather();