mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-30 01:05:22 +02:00
updated IsNight definition so that it considers Evening and Night
This commit is contained in:
parent
7a920335d4
commit
396f2b37ee
@ -984,7 +984,7 @@ endsub:
|
|||||||
|
|
||||||
Public Shared Function IsNight() As Boolean
|
Public Shared Function IsNight() As Boolean
|
||||||
Dim currentTime = GetTime()
|
Dim currentTime = GetTime()
|
||||||
Return currentTime.Equals(DayTimes.Night) Or currentTime.Equals(DayTimes.Morning)
|
Return currentTime.Equals(DayTimes.Night) Or currentTime.Equals(DayTimes.Evening)
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
End Class
|
End Class
|
Loading…
x
Reference in New Issue
Block a user