mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-28 15:57:42 +00:00
Stop audio playback when starting playtest, fixing the button icon.
This commit is contained in:
parent
33982b140a
commit
8c770e6c62
|
@ -5197,6 +5197,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
||||||
autoSave(true);
|
autoSave(true);
|
||||||
|
|
||||||
stopWelcomeMusic();
|
stopWelcomeMusic();
|
||||||
|
stopAudioPlayback();
|
||||||
|
|
||||||
var startTimestamp:Float = 0;
|
var startTimestamp:Float = 0;
|
||||||
if (playtestStartTime) startTimestamp = scrollPositionInMs + playheadPositionInMs;
|
if (playtestStartTime) startTimestamp = scrollPositionInMs + playheadPositionInMs;
|
||||||
|
|
Loading…
Reference in a new issue