mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-22 01:49:21 +00:00
use totalNotes instead of currentChart.notes.length
This commit is contained in:
parent
fa72fa44b1
commit
acc75c5c5c
|
@ -2618,9 +2618,9 @@ class PlayState extends MusicBeatSubState
|
||||||
combo: Highscore.tallies.combo,
|
combo: Highscore.tallies.combo,
|
||||||
maxCombo: Highscore.tallies.maxCombo,
|
maxCombo: Highscore.tallies.maxCombo,
|
||||||
totalNotesHit: Highscore.tallies.totalNotesHit,
|
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)
|
// adds current song data into the tallies for the level (story levels)
|
||||||
|
@ -2673,7 +2673,7 @@ class PlayState extends MusicBeatSubState
|
||||||
totalNotesHit: 0,
|
totalNotesHit: 0,
|
||||||
totalNotes: 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))
|
if (Save.instance.isLevelHighScore(PlayStatePlaylist.campaignId, PlayStatePlaylist.campaignDifficulty, data))
|
||||||
|
|
Loading…
Reference in a new issue