From 52cbaf2902d60bb76a02d47ab337961630fae81f Mon Sep 17 00:00:00 2001 From: Reycko <78082869+Reycko@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:36:24 +0100 Subject: [PATCH] Fix sustain note glow when using glow multiplier --- source/states/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/states/PlayState.hx b/source/states/PlayState.hx index bca29c5baa1..504edddc2fb 100644 --- a/source/states/PlayState.hx +++ b/source/states/PlayState.hx @@ -3030,7 +3030,7 @@ class PlayState extends MusicBeatState var spr = playerStrums.members[note.noteData]; if(spr != null) spr.playAnim('confirm', true); } - else strumPlayAnim(false, Std.int(Math.abs(note.noteData)), (Conductor.stepCrochet * 1.25 * cpuLegitStrumGlow) / 1000 / playbackRate); //TODO: MORE RANDOMIZATION :money_mouth: + else strumPlayAnim(false, Std.int(Math.abs(note.noteData)), (Conductor.stepCrochet * 1.25 * (note.isSustainNote ? 1 : cpuLegitStrumGlow)) / 1000 / playbackRate); //TODO: MORE RANDOMIZATION :money_mouth: vocals.volume = 1; if (!note.isSustainNote)