mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 08:45:02 +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
|
||||
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 Class
|
Loading…
x
Reference in New Issue
Block a user