Minor fix
parent
8b3dd588a5
commit
570944cb77
|
@ -130,6 +130,9 @@ impl PhysShip {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
// Update this now and not later,
|
||||||
|
// since autopilot might change controls.
|
||||||
|
self.last_controls = self.controls.clone();
|
||||||
|
|
||||||
match self.data.get_state() {
|
match self.data.get_state() {
|
||||||
ShipState::Collapsing { .. } => {
|
ShipState::Collapsing { .. } => {
|
||||||
|
@ -378,8 +381,6 @@ impl PhysShip {
|
||||||
self.is_destroyed = true;
|
self.is_destroyed = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
self.last_controls = self.controls.clone();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Should this ship's data be removed?
|
/// Should this ship's data be removed?
|
||||||
|
|
Loading…
Reference in New Issue