mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-12-10 05:59:15 +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.
|
// Process notes on the opponent's side.
|
||||||
for (note in opponentStrumline.notes.members)
|
for (note in opponentStrumline.notes.members)
|
||||||
{
|
{
|
||||||
if (note == null) continue;
|
if (note == null || !note.alive) continue;
|
||||||
var r = GRhythmUtil.processWindow(note, false);
|
var r = GRhythmUtil.processWindow(note, false);
|
||||||
if (r.botplayHit)
|
if (r.botplayHit)
|
||||||
{
|
{
|
||||||
|
|
@ -2750,7 +2750,7 @@ class PlayState extends MusicBeatSubState
|
||||||
// Process notes on the player's side.
|
// Process notes on the player's side.
|
||||||
for (note in playerStrumline.notes.members)
|
for (note in playerStrumline.notes.members)
|
||||||
{
|
{
|
||||||
if (note == null) continue;
|
if (note == null || !note.alive) continue;
|
||||||
var r = GRhythmUtil.processWindow(note, !isBotPlayMode);
|
var r = GRhythmUtil.processWindow(note, !isBotPlayMode);
|
||||||
if (r.botplayHit)
|
if (r.botplayHit)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue