mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Level changing to wrong daytime fix
This commit is contained in:
parent
62d4dc3523
commit
6bb3f596ca
@ -1038,7 +1038,11 @@
|
|||||||
If TagExists(Tags, "DayTime") = True Then
|
If TagExists(Tags, "DayTime") = True Then
|
||||||
Screen.Level.DayTime = CInt(GetTag(Tags, "DayTime"))
|
Screen.Level.DayTime = CInt(GetTag(Tags, "DayTime"))
|
||||||
Else
|
Else
|
||||||
Screen.Level.DayTime = 0
|
If World.setDaytime = Nothing Then
|
||||||
|
Screen.Level.DayTime = World.GetTime + 1
|
||||||
|
Else
|
||||||
|
Screen.Level.DayTime = World.setDaytime
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user