Probably fixing aurora sky
This commit is contained in:
parent
b9a7183166
commit
3f3836cb6f
|
@ -1054,6 +1054,12 @@
|
||||||
Screen.Level.IsDark = False
|
Screen.Level.IsDark = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If TagExists(Tags, "IsAurora") = True Then
|
||||||
|
World.IsAurora = CBool(GetTag(Tags, "IsAurora"))
|
||||||
|
Else
|
||||||
|
World.IsAurora = False
|
||||||
|
End If
|
||||||
|
|
||||||
If Screen.Level.DayTime = World.DayTimes.Night Then
|
If Screen.Level.DayTime = World.DayTimes.Night Then
|
||||||
If World.IsAurora = False Then
|
If World.IsAurora = False Then
|
||||||
Dim chance = Random.Next(0, 250)
|
Dim chance = Random.Next(0, 250)
|
||||||
|
@ -1065,13 +1071,6 @@
|
||||||
World.IsAurora = False
|
World.IsAurora = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If TagExists(Tags, "IsAurora") = True Then
|
|
||||||
World.IsAurora = CBool(GetTag(Tags, "IsAurora"))
|
|
||||||
Else
|
|
||||||
World.IsAurora = False
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
If TagExists(Tags, "Terrain") = True Then
|
If TagExists(Tags, "Terrain") = True Then
|
||||||
Screen.Level.Terrain.TerrainType = Terrain.FromString(CStr(GetTag(Tags, "Terrain")))
|
Screen.Level.Terrain.TerrainType = Terrain.FromString(CStr(GetTag(Tags, "Terrain")))
|
||||||
Else
|
Else
|
||||||
|
|
Loading…
Reference in New Issue