diff --git a/src/blackcore/corefacade.cpp b/src/blackcore/corefacade.cpp index 78eaf5026..d6ffb28bc 100644 --- a/src/blackcore/corefacade.cpp +++ b/src/blackcore/corefacade.cpp @@ -220,6 +220,12 @@ namespace BlackCore c = connect(this->getCContextSimulator(), &CContextSimulator::renderRestrictionsChanged, this->getCContextNetwork(), &CContextNetwork::xCtxSimulatorRenderRestrictionsChanged); Q_ASSERT(c); + c = connect(this->getCContextSimulator(), &CContextSimulator::simulatorStatusChanged, + this->getCContextNetwork(), &CContextNetwork::xCtxSimulatorStatusChanged); + Q_ASSERT(c); + + // set provider + this->getCContextNetwork()->setSimulationEnvironmentProvider(this->getCContextSimulator()->simulator()); } // only if own aircraft runs locally