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