diff --git a/source/states/PlayState.hx b/source/states/PlayState.hx index f7576a498cf..42a7c1a05d2 100644 --- a/source/states/PlayState.hx +++ b/source/states/PlayState.hx @@ -2658,8 +2658,8 @@ class PlayState extends MusicBeatState // obtain notes that the player can hit var plrInputNotes:Array = notes.members.filter(function(n:Note):Bool { - var canHit:Bool = !strumsBlocked[n.noteData] && n.canBeHit && n.mustPress && !n.tooLate && !n.wasGoodHit && !n.blockHit; - return n != null && canHit && !n.isSustainNote && n.noteData == key; + var canHit:Bool = n != null && !strumsBlocked[n.noteData] && n.canBeHit && n.mustPress && !n.tooLate && !n.wasGoodHit && !n.blockHit; + return canHit && !n.isSustainNote && n.noteData == key; }); plrInputNotes.sort(sortHitNotes);