0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Added clarifying comment

This commit is contained in:
Dev 2024-04-03 20:44:08 +01:00 committed by Refringe
parent 61dbc2b1d0
commit da523f2deb
Signed by: Refringe
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();