Ref T401, server info also when not connected

This commit is contained in:
Klaus Basan
2019-02-21 00:23:25 +01:00
committed by Mat Sutcliffe
parent 16dd6d7451
commit bae7680e59
4 changed files with 8 additions and 7 deletions

View File

@@ -703,7 +703,7 @@ namespace BlackCore
BLACK_VERIFY_X(this->getIContextNetwork(), Q_FUNC_INFO, "Missing network context");
if (to == INetwork::Connected && this->getIContextNetwork())
{
m_networkSessionId = this->getIContextNetwork()->getConnectedServer().getServerSessionId();
m_networkSessionId = this->getIContextNetwork()->getConnectedServer().getServerSessionId(false);
if (m_simulatorPlugin.second) // check in case the plugin has been unloaded
{
m_simulatorPlugin.second->setFlightNetworkConnected(true);