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