Fixed fogcolor based on lighting, not daytime

This commit is contained in:
JappaWakka 2022-10-16 20:31:07 +02:00
parent 69a9586f31
commit e9b4234add
1 changed files with 1 additions and 1 deletions

View File

@ -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