You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/funkin/game/StrumLine.hx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ class StrumLine extends FlxTypedGroup<Strum> {
189
189
190
190
if (cpu&&__updateNote_event.__autoCPUHit&&!daNote.avoid&&!daNote.wasGoodHit&&daNote.strumTime<__updateNote_songPos) PlayState.instance.goodNoteHit(this, daNote);
191
191
192
-
if (daNote.wasGoodHit&&daNote.isSustainNote&&daNote.strumTime+(daNote.sustainLength)<__updateNote_songPos) {
192
+
if (daNote.wasGoodHit&&daNote.isSustainNote&&daNote.strumTime+daNote.sustainLength<__updateNote_songPos) {
193
193
deleteNote(daNote);
194
194
return;
195
195
}
@@ -215,8 +215,9 @@ class StrumLine extends FlxTypedGroup<Strum> {
215
215
var__notePerStrum:Array<Note> = [];
216
216
217
217
function__inputProcessPressed(note:Note) {
218
-
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.canBeHit&&!note.wasGoodHit) {
218
+
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.strumTime<__updateNote_songPos&&!note.wasGoodHit) {
0 commit comments