Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Oct 12, 2024
2 parents de3df31 + f7adc57 commit 3eb34c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Note.hx
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ class Note extends FlxSprite

if (isSustainNote) {
offsetX += width / 2;
copyAngle = !chartNoteData.isSustainEnd;
copyAngle = !false;
animation.play(colArray[noteData % 4] + (chartNoteData.isSustainEnd ? 'holdend' : 'hold'));
updateHitbox();
offsetX -= width / 2;
Expand Down
4 changes: 3 additions & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5460,7 +5460,8 @@ class PlayState extends MusicBeatState
if (plrInputNotes.length > 1) {
var doubleNote:Note = plrInputNotes[1];

if (doubleNote.noteData == funnyNote.noteData) {
//if the note has the same notedata and doOppStuff indicator as funnynote, then do the check
if (doubleNote.noteData == funnyNote.noteData && doubleNote.doOppStuff == funnyNote.doOppStuff) {
// if the note has a 0ms distance (is on top of the current note), kill it
if (Math.abs(doubleNote.strumTime - funnyNote.strumTime) < 1.0)
invalidateNote(doubleNote);
Expand All @@ -5470,6 +5471,7 @@ class PlayState extends MusicBeatState
funnyNote = doubleNote;
}
}
else goodNoteHit(doubleNote); //otherwise, hit doubleNote instead of killing it
}
goodNoteHit(funnyNote);
if (plrInputNotes.length > 2 && ClientPrefs.ezSpam) //literally all you need to allow you to spam though impossibly hard jacks
Expand Down

0 comments on commit 3eb34c6

Please sign in to comment.