Add missing property
This commit is contained in:
parent
99eaeeb63b
commit
dccb356f62
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user