Accidentally put fog instead of rain

This commit is contained in:
Andrei 2025-01-23 11:59:23 -06:00
parent dae0d365d5
commit d7ac70662a

View File

@ -50,7 +50,7 @@ class WeatherManager {
public async setRainValue(value? : number): Promise<void> {
if (value === undefined) {
value = this.weatherState.fogDensity > 0 ? 0 : this.randomWeatherValue('fog')
value = this.weatherState.rainPercentage > 0 ? 0 : this.randomWeatherValue('rain')
}
this.updateWeatherProperty('rain', value)