diff --git a/P3D/World/Lighting.vb b/P3D/World/Lighting.vb index 1f2877cd4..6c7c05015 100644 --- a/P3D/World/Lighting.vb +++ b/P3D/World/Lighting.vb @@ -54,7 +54,7 @@ Public Class Lighting ColorTexture = FogColorTexture Select Case Screen.Level.EnvironmentType Case 0 - x = GetLightingType() + x = Screen.Level.DayTime - 1 If x > 2 Then x = 0 y += 1