mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Fixed issue seen in crash report
This commit is contained in:
@@ -309,7 +309,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
void CMappingComponent::doMatchingsAgain()
|
void CMappingComponent::doMatchingsAgain()
|
||||||
{
|
{
|
||||||
if (!sGui || !sGui->getISimulator() || !sGui->getISimulator()->isConnected()) { return; }
|
if (!sGui || !sGui->getIContextSimulator() || !sGui->getISimulator() || !sGui->getISimulator()->isConnected()) { return; }
|
||||||
const int reMatchedNo = sGui->getIContextSimulator()->doMatchingsAgain();
|
const int reMatchedNo = sGui->getIContextSimulator()->doMatchingsAgain();
|
||||||
CLogMessage(this).info("Triggered re-apping of %1 aircraft") << reMatchedNo;
|
CLogMessage(this).info("Triggered re-apping of %1 aircraft") << reMatchedNo;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user