1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-12-09 13:39:12 +00:00

Skip processing dead notes

This commit is contained in:
Hyper_ 2025-10-23 15:27:43 -03:00
parent 758f712eb5
commit 91a9655ff1

View file

@ -2700,7 +2700,7 @@ class PlayState extends MusicBeatSubState
// Process notes on the opponent's side.
for (note in opponentStrumline.notes.members)
{
if (note == null) continue;
if (note == null || !note.alive) continue;
var r = GRhythmUtil.processWindow(note, false);
if (r.botplayHit)
{
@ -2750,7 +2750,7 @@ class PlayState extends MusicBeatSubState
// Process notes on the player's side.
for (note in playerStrumline.notes.members)
{
if (note == null) continue;
if (note == null || !note.alive) continue;
var r = GRhythmUtil.processWindow(note, !isBotPlayMode);
if (r.botplayHit)
{