aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-03 21:58:30 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-03 21:58:30 +0000
commitf40c3b34bc54791a1313e4fc2047b08554c8c59d (patch)
tree3ec54b6a421c9c0eb530c9adf4dbb72bc9d845f6 /src/screens
parent35eb211b76dfa47b761541c81fb82a2e8fa770ed (diff)
downloadusdx-f40c3b34bc54791a1313e4fc2047b08554c8c59d.tar.gz
usdx-f40c3b34bc54791a1313e4fc2047b08554c8c59d.tar.xz
usdx-f40c3b34bc54791a1313e4fc2047b08554c8c59d.zip
ESC saves again. revert 1183.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2338 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/UScreenOptionsAdvanced.pas3
-rw-r--r--src/screens/UScreenOptionsGraphics.pas3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/screens/UScreenOptionsAdvanced.pas b/src/screens/UScreenOptionsAdvanced.pas
index 4998d3ec..dd727dd8 100644
--- a/src/screens/UScreenOptionsAdvanced.pas
+++ b/src/screens/UScreenOptionsAdvanced.pas
@@ -76,8 +76,7 @@ begin
SDLK_ESCAPE,
SDLK_BACKSPACE :
begin
- // Escape -> save nothing - just leave this screen
-
+ Ini.Save;
AudioPlayback.PlaySound(SoundLib.Back);
FadeTo(@ScreenOptions);
end;
diff --git a/src/screens/UScreenOptionsGraphics.pas b/src/screens/UScreenOptionsGraphics.pas
index d719e637..e2aacccd 100644
--- a/src/screens/UScreenOptionsGraphics.pas
+++ b/src/screens/UScreenOptionsGraphics.pas
@@ -76,8 +76,7 @@ begin
SDLK_ESCAPE,
SDLK_BACKSPACE :
begin
- // Escape -> save nothing - just leave this screen
-
+ Ini.Save;
AudioPlayback.PlaySound(SoundLib.Back);
FadeTo(@ScreenOptions);
end;