Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request FunkinCrew#289 from theDetourist/idleanimsfix
Browse files Browse the repository at this point in the history
Player 2 now plays idle animation properly when camera zooms in
  • Loading branch information
Kade-github authored Apr 24, 2021
2 parents 63045bf + 10df1d2 commit fdc4c82
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3881,7 +3881,15 @@ class PlayState extends MusicBeatState
// Conductor.changeBPM(SONG.bpm);

// Dad doesnt interupt his own notes
if (SONG.notes[Math.floor(curStep / 16)].mustHitSection)

// Commented out until a reason to bring this back arises in the future
/* if (SONG.notes[Math.floor(curStep / 16)].mustHitSection)
dad.dance(); */

if(dad.animation.curAnim.name.startsWith('sing'))
if(dad.animation.finished)
dad.dance();
else
dad.dance();
}
// FlxG.log.add('change bpm' + SONG.notes[Std.int(curStep / 16)].changeBPM);
Expand Down

0 comments on commit fdc4c82

Please sign in to comment.