Added clarifying comment

This commit is contained in:
Dev 2024-04-03 20:44:08 +01:00 committed by Refringe
parent 61dbc2b1d0
commit da523f2deb
No known key found for this signature in database
GPG Key ID: 7715B85B4A6306ED

View File

@ -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();