From 527ae09996d123e212dd85b740cebe505072f2f0 Mon Sep 17 00:00:00 2001 From: HEIHUAa <112499486+HEIHUAa@users.noreply.github.com> Date: Thu, 9 Apr 2026 21:03:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20StrumLine.hx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/funkin/game/StrumLine.hx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/funkin/game/StrumLine.hx b/source/funkin/game/StrumLine.hx index 9c00acd08..783c6be55 100644 --- a/source/funkin/game/StrumLine.hx +++ b/source/funkin/game/StrumLine.hx @@ -343,9 +343,8 @@ class StrumLine extends FlxTypedGroup { notes.forEachAlive(__inputProcessPressed); } - forEach(function(str:Strum) { - str.updatePlayerInput(__pressed[str.ID], __justPressed[str.ID], __justReleased[str.ID]); - }); + for (i => str in members) + str.updatePlayerInput(__pressed[i], __justPressed[i], __justReleased[i]); PlayState.instance.gameAndCharsCall("onPostInputUpdate"); }