mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +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,10 +78,12 @@
|
||||
|
||||
Screen.TextBox.reDelay = 0.0F
|
||||
|
||||
If Me.menuIndex = 0 Then
|
||||
UpdateMain()
|
||||
Else
|
||||
UpdateQuit()
|
||||
If Core.GameInstance.IsActive = True Then
|
||||
If Me.menuIndex = 0 Then
|
||||
UpdateMain()
|
||||
Else
|
||||
UpdateQuit()
|
||||
End If
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user