Current season can now be set in map tags

This commit is contained in:
JappaWakka 2022-08-21 19:29:26 +02:00
parent 336bbf4f12
commit 9ebfb0c491
1 changed files with 8 additions and 0 deletions

View File

@ -1016,6 +1016,14 @@
Screen.Level.EnvironmentType = 0
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
Screen.Level.WeatherType = CInt(GetTag(Tags, "Weather"))
Else