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:
parent
758f712eb5
commit
91a9655ff1
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue