Skip to content

Commit

Permalink
Fix sustain note glow when using glow multiplier
Browse files Browse the repository at this point in the history
  • Loading branch information
Reycko committed Mar 4, 2024
1 parent 45410a9 commit 52cbaf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 52cbaf2

Please sign in to comment.