Skip to content

Commit

Permalink
fix gf note miss animations
Browse files Browse the repository at this point in the history
  • Loading branch information
Snirozu committed Oct 7, 2024
1 parent ef6815f commit 10b2c5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3987,7 +3987,10 @@ class PlayState extends MusicBeatState

// play character anims
var char:Character = getPlayer();
if((note != null && note.gfNote) || (SONG.notes[curSection] != null && SONG.notes[curSection].gfSection)) char = gf;
if ((SONG.notes[curSection] != null && (SONG.notes[curSection].mustHitSection ? playsAsBF() : !playsAsBF()) && SONG.notes[curSection].gfSection)
|| (note != null && note.gfNote)) {
char = gf;
}

if(char != null /*&& char.hasMissAnimations*/)
{
Expand Down

0 comments on commit 10b2c5e

Please sign in to comment.