aboutsummaryrefslogtreecommitdiffstats
path: root/Lua
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-23 14:40:54 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-23 14:40:54 +0000
commit87f165257de236ef6b237c4d29c05b44ae011867 (patch)
tree2537d896d0b94048e99035e8287dcd06631f418a /Lua
parentceedc6d4bcfe34ae1988c583678f35a54d910b95 (diff)
downloadusdx-87f165257de236ef6b237c4d29c05b44ae011867.tar.gz
usdx-87f165257de236ef6b237c4d29c05b44ae011867.tar.xz
usdx-87f165257de236ef6b237c4d29c05b44ae011867.zip
clear settings when leaving sing screen
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1772 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua')
-rw-r--r--Lua/src/base/UParty.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lua/src/base/UParty.pas b/Lua/src/base/UParty.pas
index 3d916f64..1c502874 100644
--- a/Lua/src/base/UParty.pas
+++ b/Lua/src/base/UParty.pas
@@ -754,6 +754,11 @@ begin
else //display standard score screen
Display.FadeTo(@ScreenScore);
end;
+
+ // do this after every leave of singscreen, to ensure that settings
+ // are defaulted. This leads to the restriction that settings have
+ // to be set in PartyMode.BeforeSing
+ ScreenSing.ClearSettings;
end;
end;