1
0
Fork 0

AW: Make weather system randomize the high cloud scattering properties on init to avoid repetition

This commit is contained in:
Thorsten Renk 2018-09-01 09:46:33 +03:00
parent a4960e14fa
commit 67bb39d046

View file

@ -3743,6 +3743,11 @@ if (local_weather_running_flag == 1)
local_weather_startup_flag = 1; local_weather_startup_flag = 1;
# randomize high ice scattering properties
setprop("/environment/scattering-phenomena/ring-factor", rand());
setprop("/environment/scattering-phenomena/rainbow-factor", rand());
var type = getprop("/local-weather/tmp/tile-type"); var type = getprop("/local-weather/tmp/tile-type");