Skip to content

Commit

Permalink
fixed hitsound when passing events
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMario committed Jul 17, 2024
1 parent 837082a commit cba599d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/states/editors/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
var hitSoundOpp:Bool = (hitsoundOpponentStepper.value > 0);
for (note in curRenderedNotes)
{
if(note == null) continue;
if(note == null || note.isEvent) continue;

note.alpha = (note.strumTime >= Conductor.songPosition) ? 1 : 0.6;
if(canPlayHitSound && Conductor.songPosition > note.strumTime && lastTime <= note.strumTime)
Expand Down

0 comments on commit cba599d

Please sign in to comment.