re add start section and result screen clean

This commit is contained in:
KadeDeveloper
2021-08-04 15:23:47 -07:00
parent 78b7faf83a
commit fa77122877
2 changed files with 15 additions and 0 deletions

View File

@ -1256,7 +1256,17 @@ class ChartingState extends MusicBeatState
check_altAnim.checked = section.altAnim;
});
var startSection:FlxButton = new FlxButton(10, 85, "Play Here", function() {
PlayState.SONG = _song;
FlxG.sound.music.stop();
if (!PlayState.isSM)
vocals.stop();
PlayState.startTime = lastUpdatedSection.startTime;
LoadingState.loadAndSwitchState(new PlayState());
});
tab_group_section.add(refresh);
tab_group_section.add(startSection);
tab_group_section.add(stepperCopy);
tab_group_section.add(stepperCopyLabel);
tab_group_section.add(check_mustHitSection);