From acc75c5c5c46d5f7ca8a00a98f32d85fc318279a Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Mon, 4 Mar 2024 21:25:56 -0500 Subject: [PATCH] use totalNotes instead of currentChart.notes.length --- source/funkin/play/PlayState.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/funkin/play/PlayState.hx b/source/funkin/play/PlayState.hx index 04a18fb95..b41c29c83 100644 --- a/source/funkin/play/PlayState.hx +++ b/source/funkin/play/PlayState.hx @@ -2618,9 +2618,9 @@ class PlayState extends MusicBeatSubState combo: Highscore.tallies.combo, maxCombo: Highscore.tallies.maxCombo, totalNotesHit: Highscore.tallies.totalNotesHit, - totalNotes: currentChart.notes.length, + totalNotes: Highscore.tallies.totalNotes, }, - accuracy: Highscore.tallies.totalNotesHit / currentChart.notes.length, + accuracy: Highscore.tallies.totalNotesHit / Highscore.tallies.totalNotes, }; // adds current song data into the tallies for the level (story levels) @@ -2673,7 +2673,7 @@ class PlayState extends MusicBeatSubState totalNotesHit: 0, totalNotes: 0, }, - accuracy: Highscore.tallies.totalNotesHit / currentChart.notes.length, + accuracy: Highscore.tallies.totalNotesHit / Highscore.tallies.totalNotes, }; if (Save.instance.isLevelHighScore(PlayStatePlaylist.campaignId, PlayStatePlaylist.campaignDifficulty, data))