mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-30 02:33:40 +00:00
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:
commit
969626c8f8
|
@ -5238,6 +5238,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