Fix flipped pathnavigation.isFlying check

The `!` disappeared as part of the big codegen Lua rewrite
This commit is contained in:
Emma Broman
2022-05-04 17:28:39 +02:00
parent ce0c1737e0
commit 301efa718b
+1 -1
View File
@@ -28,7 +28,7 @@ namespace {
[[codegen::luawrap]] bool isFlying() {
using namespace openspace;
bool hasFinished = global::navigationHandler->pathNavigator().hasFinished();
return hasFinished;
return !hasFinished;
}
// Continue playing a paused camera path.