From e7f75831c3db0c6b21cff17d95466cbef4447882 Mon Sep 17 00:00:00 2001 From: core Date: Thu, 4 Jan 2024 22:44:06 -0500 Subject: [PATCH] fmt --- server/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index e42f3355d09535b221c742c1f3a3cdc7ce686b6f..719f13432d003cd5f4f94f18e5eb5f06c5a0778e 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -131,7 +131,8 @@ fn spawn_planets(mut commands: Commands) { .insert(AdditionalMassProperties::Mass(MARS_MASS)) .insert(ReadMassProperties::default()) .with_children(|children| { - children.spawn(Collider::ball((MARS_SIZE + 3.) / SCALE)) + children + .spawn(Collider::ball((MARS_SIZE + 3.) / SCALE)) .insert(ActiveEvents::COLLISION_EVENTS) .insert(Sensor); }) @@ -278,7 +279,7 @@ fn on_message( radius: match *planet_type { PlanetType::Earth => EARTH_SIZE, PlanetType::Moon => MOON_SIZE, - PlanetType::Mars => MARS_SIZE + PlanetType::Mars => MARS_SIZE, }, }, ));