No updates to simulator when sim is not simulating

This commit is contained in:
Klaus Basan
2014-12-17 18:41:10 +01:00
parent d80f416752
commit 0f7332e82b

View File

@@ -210,6 +210,7 @@ namespace BlackSimPlugin
bool CSimulatorFsx::updateOwnSimulatorCockpit(const CAircraft &ownAircraft)
{
if (!this->isSimulating()) { return false; }
CComSystem newCom1 = ownAircraft.getCom1System();
CComSystem newCom2 = ownAircraft.getCom2System();
CTransponder newTransponder = ownAircraft.getTransponder();