format
This commit is contained in:
parent
60d3198e41
commit
e7c533d728
11
src/cmd.rs
11
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,
|
||||
|
|
Loading…
Reference in a new issue