Merge pull request #296 from FunkinCrew/bugfix/play-pause-button

Stop audio playback when starting playtest, fixing the button icon.
This commit is contained in:
Cameron Taylor 2024-01-18 07:18:10 -05:00 committed by GitHub
commit 969626c8f8

View file

@ -5238,6 +5238,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
autoSave(true);
stopWelcomeMusic();
stopAudioPlayback();
var startTimestamp:Float = 0;
if (playtestStartTime) startTimestamp = scrollPositionInMs + playheadPositionInMs;