diff --git a/src/world.rs b/src/world.rs index 45d3c09..8676403 100644 --- a/src/world.rs +++ b/src/world.rs @@ -146,7 +146,7 @@ pub fn setup( Star, PbrBundle { mesh: sphere_handle.clone(), - material: star_color_handle.clone(), + material: star_color_handle, transform: Transform::from_xyz( dist * star[0], dist * star[1],