From 6b809a9a971632a4c547d20e9d2e6ef76a89ec8b Mon Sep 17 00:00:00 2001 From: Kade M Date: Sat, 15 May 2021 13:14:25 -0700 Subject: [PATCH] strums light up lol --- source/PlayState.hx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/PlayState.hx b/source/PlayState.hx index 624bf85..0734637 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -3115,6 +3115,14 @@ class PlayState extends MusicBeatState if(!loadRep && note.mustPress) saveNotes.push(HelperFunctions.truncateFloat(note.strumTime, 2)); + playerStrums.forEach(function(spr:FlxSprite) + { + if (Math.abs(note.noteData) == spr.ID) + { + spr.animation.play('confirm', true); + } + }); + note.wasGoodHit = true; vocals.volume = 1;