aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/screens/UScreenMain.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/src/screens/UScreenMain.pas')
-rw-r--r--Lua/src/screens/UScreenMain.pas13
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;