format
This commit is contained in:
parent
60d3198e41
commit
e7c533d728
1 changed files with 6 additions and 5 deletions
11
src/cmd.rs
11
src/cmd.rs
|
@ -738,11 +738,12 @@ fn spawn_entities(
|
||||||
if state.is_vehicle {
|
if state.is_vehicle {
|
||||||
actor.insert(actor::Vehicle::default());
|
actor.insert(actor::Vehicle::default());
|
||||||
}
|
}
|
||||||
if state.is_vehicle || state.is_suited
|
if state.is_vehicle
|
||||||
|| state.thrust_forward > 0.0
|
|| state.is_suited
|
||||||
|| state.thrust_sideways > 0.0
|
|| state.thrust_forward > 0.0
|
||||||
|| state.thrust_back > 0.0
|
|| state.thrust_sideways > 0.0
|
||||||
|| state.reaction_wheels > 0.0
|
|| state.thrust_back > 0.0
|
||||||
|
|| state.reaction_wheels > 0.0
|
||||||
{
|
{
|
||||||
actor.insert(actor::Engine {
|
actor.insert(actor::Engine {
|
||||||
thrust_forward: state.thrust_forward,
|
thrust_forward: state.thrust_forward,
|
||||||
|
|
Loading…
Add table
Reference in a new issue