If I set day properties like
Code: Select all
surface.dusk = dusk
surface.evening = evening
surface.morning = morning
surface.dawn = dawn
The problem comes due update: all new parameters have properly values, but if they mare changed not in the right sequence then I get the error before change the next one.
So if I have values {0.1, 0.2, 0.4, 0.6} and change them to {0.3, 0.5, 0.7, 0.8} then I get the error that 0.3 must be lower than second argument, that is at this moment 0.2. Every next changing gives same error.
It would be nice to change all four parameters simultaneously, like surface.day_times={0.3, 0.5, 0.7, 0.8} and the dusk, evening, morning and dawn times will be changed together.