mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user