From c76cf667615c2b47af16eca6be85700a2c7e0304 Mon Sep 17 00:00:00 2001 From: Julia Naomi Date: Wed, 6 Dec 2023 14:25:57 -0600 Subject: [PATCH] fix-bug --- src/sheep.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sheep.rs b/src/sheep.rs index bf69a1a..d900704 100644 --- a/src/sheep.rs +++ b/src/sheep.rs @@ -104,12 +104,12 @@ pub fn setup( mut meshes: ResMut>, mut materials: ResMut>, asset_server: Res, - mut sprite_material: ResMut>>, + // mut _sprite_material: ResMut>>, ) { let square = meshes.add(create_plane_mesh()); let sheep_texture: Handle = asset_server.load(SHEEP_PATH); - let _sheep_material = materials.add(StandardMaterial { + let sheep_material = materials.add(StandardMaterial { base_color_texture: Some(sheep_texture.clone()), alpha_mode: AlphaMode::Blend, ..default()