re add start section and result screen clean
This commit is contained in:
parent
78b7faf83a
commit
fa77122877
@ -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);
|
||||
|
@ -145,6 +145,11 @@ class ResultsScreen extends FlxSubState
|
||||
graph.addToHistory(diff, judge, obj3);
|
||||
}
|
||||
|
||||
if (sicks == Math.POSITIVE_INFINITY || sicks == Math.NaN)
|
||||
sicks = 0;
|
||||
if (goods == Math.POSITIVE_INFINITY || goods == Math.NaN)
|
||||
goods = 0;
|
||||
|
||||
graph.update();
|
||||
|
||||
mean = HelperFunctions.truncateFloat(mean / PlayState.rep.replay.songNotes.length,2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user