mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-01 00:09:58 -05:00
Only disengageAutopilot if done
This commit is contained in:
@@ -154,7 +154,9 @@ FlightControllerTopic::~FlightControllerTopic() {
|
||||
}
|
||||
|
||||
bool FlightControllerTopic::isDone() const {
|
||||
disengageAutopilot();
|
||||
if (_isDone) {
|
||||
disengageAutopilot();
|
||||
}
|
||||
return _isDone;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user