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
{{ message }}
This repository was archived by the owner on Jan 6, 2026. It is now read-only.
@@ -236,10 +239,23 @@ class StrumLine extends FlxTypedGroup<Strum> {
236
239
237
240
238
241
if (__updateNote_event.strum==null) return;
239
-
240
242
if (__updateNote_event.__reposNote) __updateNote_event.strum.updateNotePosition(daNote);
243
+
244
+
241
245
if (daNote.isSustainNote)
246
+
{
242
247
daNote.updateSustain(__updateNote_event.strum);
248
+
249
+
if (daNote.tripTimer>0&&daNote.tailCount>3)
250
+
{
251
+
daNote.tripTimer-=0.05/daNote.sustainLength;
252
+
if (daNote.tripTimer<=0)
253
+
{
254
+
daNote.tripTimer=0;
255
+
daNote.canBeHit=false;
256
+
}
257
+
}
258
+
}
243
259
}
244
260
245
261
var__funcsToExec:Array<Note->Void> = [];
@@ -249,16 +265,27 @@ class StrumLine extends FlxTypedGroup<Strum> {
249
265
var__notePerStrum:Array<Note> = [];
250
266
251
267
function__inputProcessPressed(note:Note) {
252
-
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.strumTime<__updateNote_songPos&&!note.wasGoodHit) {
268
+
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.sustainParent!=null&¬e.sustainParent.wasGoodHit&¬e.strumTime<__updateNote_songPos&&!note.wasGoodHit) {
269
+
note.tripTimer=1;
253
270
PlayState.instance.goodNoteHit(this, note);
254
271
note.updateSustainClip();
255
272
}
256
273
}
257
274
function__inputProcessJustPressed(note:Note) {
258
275
if (__justPressed[note.strumID] &&!note.isSustainNote&&!note.wasGoodHit&¬e.canBeHit) {
259
-
if (__notePerStrum[note.strumID] ==null) __notePerStrum[note.strumID] =note;
0 commit comments