From 632764b05d455fbb396ba65a799ed4f5e3cc36ae Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Mon, 4 May 2009 07:31:23 +0000 Subject: 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 --- Lua/src/screens/UScreenMain.pas | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Lua/src/screens/UScreenMain.pas') 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; -- cgit v1.2.3