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
+25-21Lines changed: 25 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -258,14 +258,19 @@ class StrumLine extends FlxTypedGroup<Strum> {
258
258
}
259
259
}
260
260
261
-
var__funcsToExec:Array<Note->Void> = [];
262
261
var__pressed:Array<Bool> = [];
263
262
var__justPressed:Array<Bool> = [];
264
263
var__justReleased:Array<Bool> = [];
265
264
var__notePerStrum:Array<Note> = [];
266
265
267
266
function__inputProcessPressed(note:Note) {
268
-
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.sustainParent!=null&¬e.sustainParent.wasGoodHit&¬e.strumTime<__updateNote_songPos&&!note.wasGoodHit) {
267
+
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.strumTime<__updateNote_songPos&&!note.wasGoodHit) {
268
+
note.tripTimer=1;
269
+
PlayState.instance.goodNoteHit(this, note);
270
+
}
271
+
}
272
+
function__inputProcessPressedOne(note:Note) {
273
+
if (__pressed[note.strumID] &¬e.isSustainNote&¬e.sustainParent!=null&¬e.prevNote!=null&¬e.prevNote.wasGoodHit&¬e.strumTime<__updateNote_songPos&&!note.wasGoodHit) {
269
274
note.tripTimer=1;
270
275
PlayState.instance.goodNoteHit(this, note);
271
276
}
@@ -297,12 +302,11 @@ class StrumLine extends FlxTypedGroup<Strum> {
0 commit comments