mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-12-03 12:56:59 -05:00
Merge pull request #283 from FunkinCrew/bugfix/chart-f4-crash
Fix a crash when closing chart editor with no music playing
This commit is contained in:
commit
4786091bbe
1 changed files with 3 additions and 3 deletions
|
@ -5951,9 +5951,9 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
ChartEditorNoteSprite.noteFrameCollection = null;
|
||||
|
||||
// Stop the music.
|
||||
welcomeMusic.destroy();
|
||||
audioInstTrack.destroy();
|
||||
audioVocalTrackGroup.destroy();
|
||||
if (welcomeMusic != null) welcomeMusic.destroy();
|
||||
if (audioInstTrack != null) audioInstTrack.destroy();
|
||||
if (audioVocalTrackGroup != null) audioVocalTrackGroup.destroy();
|
||||
}
|
||||
|
||||
function applyCanQuickSave():Void
|
||||
|
|
Loading…
Reference in a new issue