diff --git a/QSB/SectorSync/QSBSectorManager.cs b/QSB/SectorSync/QSBSectorManager.cs index 9d51318e..2a573f39 100644 --- a/QSB/SectorSync/QSBSectorManager.cs +++ b/QSB/SectorSync/QSBSectorManager.cs @@ -73,7 +73,7 @@ public class QSBSectorManager : WorldObjectManager public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) { DebugLog.DebugWrite("Building sectors...", MessageType.Info); - await this.Try("creating fake sectors", () => CreateFakeSectors(ct)); + this.Try("creating fake sectors", CreateFakeSectors); QSBWorldSync.Init(); _isReady = QSBWorldSync.GetWorldObjects().Any(); @@ -82,7 +82,7 @@ public class QSBSectorManager : WorldObjectManager public override void UnbuildWorldObjects() => _isReady = false; - private static async UniTask CreateFakeSectors(CancellationToken ct) + private static void CreateFakeSectors() { if (QSBSceneManager.CurrentScene != OWScene.SolarSystem) {