Current season can now be set in map tags
This commit is contained in:
parent
336bbf4f12
commit
9ebfb0c491
|
@ -1016,6 +1016,14 @@
|
||||||
Screen.Level.EnvironmentType = 0
|
Screen.Level.EnvironmentType = 0
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If TagExists(Tags, "Season") = True Then
|
||||||
|
If CInt(GetTag(Tags, "Season")) <> -1 Then
|
||||||
|
World.setSeason = CType(CInt(GetTag(Tags, "Season")), World.Seasons)
|
||||||
|
Else
|
||||||
|
World.setSeason = Nothing
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
If TagExists(Tags, "Weather") = True Then
|
If TagExists(Tags, "Weather") = True Then
|
||||||
Screen.Level.WeatherType = CInt(GetTag(Tags, "Weather"))
|
Screen.Level.WeatherType = CInt(GetTag(Tags, "Weather"))
|
||||||
Else
|
Else
|
||||||
|
|
Loading…
Reference in New Issue