clippy + fmt

This commit is contained in:
Lee-Orr
2024-02-12 12:24:33 -05:00
parent f6927b2739
commit 9e778e5cc1
2 changed files with 45 additions and 25 deletions
+1 -3
View File
@@ -57,9 +57,7 @@ fn setup_animation(
mut players: Query<Entity, (With<MorphWeights>, Without<AnimationRunning>)>,
) {
for entity in &mut players {
let handle = asset_server.load(
"fake_test.morph_anim.json"
);
let handle = asset_server.load("fake_test.morph_anim.json");
let mut player = AnimationPlayer::default();
player.play(handle.clone()).repeat();