From 6474ab2abacf73abf56f7625ef9f4a0747b5fa74 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Mon, 2 Jan 2023 00:24:06 +0100 Subject: [PATCH] Update PlayState.hx --- source/funkin/game/PlayState.hx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index f6ac8e86..f087d247 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1576,9 +1576,7 @@ class PlayState extends MusicBeatState comboGroup.add(comboSpr); for (i in 0...separatedScore.length) { - var e = separatedScore.charAt(i); - - var numScore:FlxSprite = comboGroup.recycle(FlxSprite).loadAnimatedGraphic(Paths.image('${event.ratingPrefix}num$e${event.ratingSuffix}')); + var numScore:FlxSprite = comboGroup.recycle(FlxSprite).loadAnimatedGraphic(Paths.image('${event.ratingPrefix}num${separatedScore.charAt(i)}${event.ratingSuffix}')); numScore.resetSprite((43 * i) - 90, 80); comboGroup.remove(numScore, true); numScore.antialiasing = event.numAntialiasing;