Skip to content

Commit a0fff1f

Browse files
committed
Skip processing dead notes
1 parent 9e645db commit a0fff1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/funkin/play/PlayState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2695,7 +2695,7 @@ class PlayState extends MusicBeatSubState
26952695
// Process notes on the opponent's side.
26962696
for (note in opponentStrumline.notes.members)
26972697
{
2698-
if (note == null) continue;
2698+
if (note == null || !note.alive) continue;
26992699
var r = GRhythmUtil.processWindow(note, false);
27002700
if (r.botplayHit)
27012701
{
@@ -2745,7 +2745,7 @@ class PlayState extends MusicBeatSubState
27452745
// Process notes on the player's side.
27462746
for (note in playerStrumline.notes.members)
27472747
{
2748-
if (note == null) continue;
2748+
if (note == null || !note.alive) continue;
27492749
var r = GRhythmUtil.processWindow(note, !isBotPlayMode);
27502750
if (r.botplayHit)
27512751
{

0 commit comments

Comments
 (0)