mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Fixed staggered update
This commit is contained in:
@@ -868,7 +868,7 @@ namespace BlackCore
|
||||
QPointer<CAirspaceMonitor> myself(this);
|
||||
for (const CSimulatedAircraft &ac : aircraft)
|
||||
{
|
||||
QTimer::singleShot(c * 25, this, [ = ]
|
||||
QTimer::singleShot(c++ * 25, this, [ = ]
|
||||
{
|
||||
if (!myself) { return; }
|
||||
myself->addNewAircraftInRange(ac);
|
||||
|
||||
Reference in New Issue
Block a user