From 1418bd1b44ec44ff0b2c2e795766898e529f4159 Mon Sep 17 00:00:00 2001 From: Gabriela Bestial <93128334+BeastlyGabi@users.noreply.github.com> Date: Sat, 1 Jul 2023 10:13:09 -0400 Subject: [PATCH] Update PlayState.hx --- source/funkin/game/PlayState.hx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index e0e518f3..3866f0ca 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1456,18 +1456,16 @@ class PlayState extends MusicBeatState scripts.event("onNoteHit", event); if (!event.cancelled) { + if (event.score) songScore += score; if (event.accuracy != null) { accuracyPressedNotes++; totalAccuracyAmount += event.accuracy; - updateRating(); } if (event.countAsCombo) combo++; if (event.showRating || (event.showRating == null && event.player && !note.isSustainNote)) { - songScore += score; - var separatedScore:String = Std.string(combo).addZeros(3); if (combo == 0 || combo >= 10) { @@ -1726,4 +1724,4 @@ typedef PlayStateTransitionData = { var camFollowX:Float; var camFollowY:Float; var camZoom:Float; -} \ No newline at end of file +}