aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authormota23 <mota23@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-03 01:15:41 +0000
committermota23 <mota23@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-03 01:15:41 +0000
commit7ddd1afb9bec5dca80a272a50ea02f6c3cfbc2b7 (patch)
tree34c34ab16acc44a22b394cdd64639642aed16d2c /Game/Code
parentdd66b485bac2217191624efbae322a4efe81fc1a (diff)
downloadusdx-7ddd1afb9bec5dca80a272a50ea02f6c3cfbc2b7.tar.gz
usdx-7ddd1afb9bec5dca80a272a50ea02f6c3cfbc2b7.tar.xz
usdx-7ddd1afb9bec5dca80a272a50ea02f6c3cfbc2b7.zip
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
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Screens/UScreenPopup.pas3
1 files changed, 3 insertions, 0 deletions
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;