mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
[Crash fix]
Fixed crash that occurs when exiting to the main menu through the pause screen while the game window is minimized or not active in general.
This commit is contained in:
parent
eaab679379
commit
66079e69d0
@ -78,11 +78,13 @@
|
||||
|
||||
Screen.TextBox.reDelay = 0.0F
|
||||
|
||||
If Core.GameInstance.IsActive = True Then
|
||||
If Me.menuIndex = 0 Then
|
||||
UpdateMain()
|
||||
Else
|
||||
UpdateQuit()
|
||||
End If
|
||||
End If
|
||||
End Sub
|
||||
|
||||
#Region "MainMenu"
|
||||
|
Loading…
x
Reference in New Issue
Block a user