From fa094580cd85aafd18f9385b16ac9fa27e61ec1e Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Fri, 21 Nov 2025 19:20:13 +0700 Subject: [PATCH] Fix Sustain Cliprect not updating on press hit --- source/funkin/game/PlayState.hx | 1 + source/funkin/game/StrumLine.hx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index cbc168ea..44b34da6 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1984,6 +1984,7 @@ class PlayState extends MusicBeatState } if (event.deleteNote) strumLine.deleteNote(note); + else note.updateSustainClip(); gameAndCharsEvent("onPostNoteHit", event); } diff --git a/source/funkin/game/StrumLine.hx b/source/funkin/game/StrumLine.hx index ee7fefb7..c998666e 100644 --- a/source/funkin/game/StrumLine.hx +++ b/source/funkin/game/StrumLine.hx @@ -268,7 +268,6 @@ class StrumLine extends FlxTypedGroup { if (__pressed[note.strumID] && note.isSustainNote && note.sustainParent != null && note.sustainParent.wasGoodHit && note.strumTime < __updateNote_songPos && !note.wasGoodHit) { note.tripTimer = 1; PlayState.instance.goodNoteHit(this, note); - note.updateSustainClip(); } } function __inputProcessJustPressed(note:Note) {