From e7c533d7282da7d7341c215a2f8b675c692244a8 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 14 May 2024 00:57:41 +0200 Subject: [PATCH] format --- src/cmd.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/cmd.rs b/src/cmd.rs index 9e0b8b0..1c811d4 100644 --- a/src/cmd.rs +++ b/src/cmd.rs @@ -738,11 +738,12 @@ fn spawn_entities( if state.is_vehicle { actor.insert(actor::Vehicle::default()); } - if state.is_vehicle || state.is_suited - || state.thrust_forward > 0.0 - || state.thrust_sideways > 0.0 - || state.thrust_back > 0.0 - || state.reaction_wheels > 0.0 + if state.is_vehicle + || state.is_suited + || state.thrust_forward > 0.0 + || state.thrust_sideways > 0.0 + || state.thrust_back > 0.0 + || state.reaction_wheels > 0.0 { actor.insert(actor::Engine { thrust_forward: state.thrust_forward,