From fd0f5799f7e77f8bdd96cc030da24ff930079833 Mon Sep 17 00:00:00 2001 From: minenice55 Date: Sat, 3 Sep 2022 23:36:08 -0400 Subject: [PATCH] new remix stops playback properly --- Assets/Scripts/LevelEditor/Editor.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/Scripts/LevelEditor/Editor.cs b/Assets/Scripts/LevelEditor/Editor.cs index 5c379163..3645aca8 100644 --- a/Assets/Scripts/LevelEditor/Editor.cs +++ b/Assets/Scripts/LevelEditor/Editor.cs @@ -397,6 +397,10 @@ namespace HeavenStudio.Editor public void NewRemix() { + if (Timeline.instance != null) + Timeline.instance?.Stop(0); + else + GameManager.instance.Stop(0); MusicBytes = null; LoadRemix(""); }