diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-04 07:31:23 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-04 07:31:23 +0000 |
commit | 632764b05d455fbb396ba65a799ed4f5e3cc36ae (patch) | |
tree | ae8ae1ceaf5518d5c6e41cd80d160edd8f9dfba3 /Lua/src/screens/UScreenMain.pas | |
parent | 14e96597c65a2402ee4ddc068ff08c7659123a1d (diff) | |
download | usdx-632764b05d455fbb396ba65a799ed4f5e3cc36ae.tar.gz usdx-632764b05d455fbb396ba65a799ed4f5e3cc36ae.tar.xz usdx-632764b05d455fbb396ba65a799ed4f5e3cc36ae.zip |
added calls for party modes functions to ScreenSing
clear party settings in UScreenMain, this is some workaround, because this is the only screen that is surely visited after party game
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1710 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Lua/src/screens/UScreenMain.pas | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Lua/src/screens/UScreenMain.pas b/Lua/src/screens/UScreenMain.pas index c0ab494e..c590930c 100644 --- a/Lua/src/screens/UScreenMain.pas +++ b/Lua/src/screens/UScreenMain.pas @@ -233,9 +233,16 @@ end; procedure TScreenMain.onShow; begin inherited; -{** - * Start background music - *} + + {** + * Clean up TPartyGame here + * at the moment there is no better place for this + *} + Party.Clear; + + {** + * Start background music + *} SoundLib.StartBgMusic; end; |