Fix warnings in DayNightCycleScript