Possible fix for escape button inputfield crash

This commit is contained in:
JappaWakka 2022-03-31 21:14:42 +02:00
parent d96fdbd80a
commit 988d54d1a6
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@
End Sub
Public Overrides Sub Draw()
Me.PreScreen.Draw()
If Me.PreScreen IsNot Nothing Then
Me.PreScreen.Draw()
End If
Canvas.DrawRectangle(New Rectangle(0, 0, Core.windowSize.Width, Core.windowSize.Height), New Color(0, 0, 0, 150))
Dim titletext As String = Localization.GetString("pause_menu_title")