From 7ddd1afb9bec5dca80a272a50ea02f6c3cfbc2b7 Mon Sep 17 00:00:00 2001 From: mota23 Date: Thu, 3 May 2007 01:15:41 +0000 Subject: Esc in Popup escapes the Popup. Higher usability. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@159 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Screens/UScreenPopup.pas | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Game/Code') diff --git a/Game/Code/Screens/UScreenPopup.pas b/Game/Code/Screens/UScreenPopup.pas index 25f647a2..a6e8ccca 100644 --- a/Game/Code/Screens/UScreenPopup.pas +++ b/Game/Code/Screens/UScreenPopup.pas @@ -87,6 +87,9 @@ begin SDLK_ESCAPE : begin + Display.CheckOK:=False; + Display.NextScreenWithCheck:=NIL; + Visible:=False; Result := false; end; -- cgit v1.2.3