Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
odecay committed Jun 6, 2024
1 parent 2da33f3 commit ec02936
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fighter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ pub fn attachment_system(
//Sync animation
if attached.sync_animation {
animation.current_frame = parent_animation.current_frame;
animation.current_animation.clone_from(&parent_animation.current_animation);
animation
.current_animation
.clone_from(&parent_animation.current_animation);
animation.timer = parent_animation.timer.clone();
animation.played_once = parent_animation.played_once;
}
Expand Down

0 comments on commit ec02936

Please sign in to comment.