Actually fixing aurora sky
This commit is contained in:
parent
3f3836cb6f
commit
397ae27832
|
@ -1057,18 +1057,16 @@
|
||||||
If TagExists(Tags, "IsAurora") = True Then
|
If TagExists(Tags, "IsAurora") = True Then
|
||||||
World.IsAurora = CBool(GetTag(Tags, "IsAurora"))
|
World.IsAurora = CBool(GetTag(Tags, "IsAurora"))
|
||||||
Else
|
Else
|
||||||
World.IsAurora = False
|
If Screen.Level.DayTime = World.DayTimes.Night Then
|
||||||
End If
|
If World.IsAurora = False Then
|
||||||
|
Dim chance = Random.Next(0, 250)
|
||||||
If Screen.Level.DayTime = World.DayTimes.Night Then
|
If chance = 0 Then
|
||||||
If World.IsAurora = False Then
|
World.IsAurora = True
|
||||||
Dim chance = Random.Next(0, 250)
|
End If
|
||||||
If chance = 0 Then
|
|
||||||
World.IsAurora = True
|
|
||||||
End If
|
End If
|
||||||
|
Else
|
||||||
|
World.IsAurora = False
|
||||||
End If
|
End If
|
||||||
Else
|
|
||||||
World.IsAurora = False
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If TagExists(Tags, "Terrain") = True Then
|
If TagExists(Tags, "Terrain") = True Then
|
||||||
|
|
Loading…
Reference in New Issue