mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
No updates to simulator when sim is not simulating
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user