Made sunrise last longer.

This commit is contained in:
Fabian Klemp 2015-03-09 15:43:44 +01:00
parent abb8c981bc
commit f3887390a9

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