Added clarifying comment
This commit is contained in:
parent
61dbc2b1d0
commit
da523f2deb
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user