Skip to content

Commit 981ffbe

Browse files
Update NoteSystem.hx
Explanation: This adjusts minimum sustain length tolerance to fit what it was before the new chart format
1 parent d9ce2cf commit 981ffbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/structures/gameplay/NoteSystem.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ class NoteSystem {
337337
if (sustainSpr.w < 0) sustainSpr.w = 0;
338338
}
339339

340-
if (pos > position + (MetaNote.floatToMetaNotePosition(sustainLength - 20)) && !isHeld) {
340+
if (pos > position + (MetaNote.floatToMetaNotePosition(sustainLength - 45)) && !isHeld) {
341341
var n:Int64 = note.toNumber();
342342
(n:MetaNote).held = true;
343343
isHeld = true;
@@ -358,7 +358,7 @@ class NoteSystem {
358358
}
359359

360360
// Fixes the rare receptor pause issue, finally
361-
if (diff + sustainLength - 20 < 0)
361+
if (diff + sustainLength - 45 < 0)
362362
strumline.sustainsActive[index] = !isHeld;
363363

364364
if (noteSpr != null)

0 commit comments

Comments
 (0)