Made sunrise last longer.

This commit is contained in:
Fabian Klemp 2015-03-09 15:43:44 +01:00
parent 330ce60564
commit 4881b11f41

View File

@ -7,7 +7,7 @@ function trigger(objectToChange)
return
end
local maxTimeDiff = 20
local maxTimeDiff = 30
local timeDiff = os.clock()- global.sunStartTime
if(timeDiff > maxTimeDiff)then
timeDiff = maxTimeDiff