1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-27 07:27:12 +00:00

Stop audio playback when starting playtest, fixing the button icon.

This commit is contained in:
EliteMasterEric 2024-01-18 00:00:57 -05:00
parent 33982b140a
commit 8c770e6c62

View file

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