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

@ -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);