mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Fix assert caused by wrong function call
This commit is contained in:
@@ -230,7 +230,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
IContextSimulator *CSimulatedAircraftView::simulatorContext()
|
IContextSimulator *CSimulatedAircraftView::simulatorContext()
|
||||||
{
|
{
|
||||||
if (!sGui || sGui->isShuttingDown() || !sGui->getISimulator()) { return nullptr; }
|
if (!sGui || sGui->isShuttingDown() || !sGui->getIContextSimulator()) { return nullptr; }
|
||||||
return sGui->getIContextSimulator();
|
return sGui->getIContextSimulator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user