Accidentally put fog instead of rain
This commit is contained in:
parent
dae0d365d5
commit
d7ac70662a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user