diff --git a/QSB/ModelShip/ModelShipManager.cs b/QSB/ModelShip/ModelShipManager.cs index 8b0c9b66..48a2b412 100644 --- a/QSB/ModelShip/ModelShipManager.cs +++ b/QSB/ModelShip/ModelShipManager.cs @@ -37,13 +37,6 @@ public class ModelShipManager : WorldObjectManager public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) { - // NH can remove this - var modelShip = QSBWorldSync.GetUnityObject()._modelShipBody; - if (!modelShip) - { - return; - } - if (QSBCore.IsHost) { Instantiate(QSBNetworkManager.singleton.ModelShipPrefab).SpawnWithServerOwnership(); diff --git a/QSB/SectorSync/QSBSectorManager.cs b/QSB/SectorSync/QSBSectorManager.cs index 15abbea1..b52c8a1a 100644 --- a/QSB/SectorSync/QSBSectorManager.cs +++ b/QSB/SectorSync/QSBSectorManager.cs @@ -91,16 +91,11 @@ public class QSBSectorManager : WorldObjectManager // time loop spinning ring { - // NH can remove this var TimeLoopRing_Body = GameObject.Find("TimeLoopRing_Body"); - - if (TimeLoopRing_Body) - { - var Sector_TimeLoopInterior = GameObject.Find("Sector_TimeLoopInterior").GetComponent(); - // use the same trigger as the parent sector - FakeSector.Create(TimeLoopRing_Body, Sector_TimeLoopInterior, - x => x._triggerRoot = Sector_TimeLoopInterior._triggerRoot); - } + var Sector_TimeLoopInterior = GameObject.Find("Sector_TimeLoopInterior").GetComponent(); + // use the same trigger as the parent sector + FakeSector.Create(TimeLoopRing_Body, Sector_TimeLoopInterior, + x => x._triggerRoot = Sector_TimeLoopInterior._triggerRoot); } // TH elevators diff --git a/QSB/Syncs/Occasional/OccasionalManager.cs b/QSB/Syncs/Occasional/OccasionalManager.cs index f1fef552..b60fdda3 100644 --- a/QSB/Syncs/Occasional/OccasionalManager.cs +++ b/QSB/Syncs/Occasional/OccasionalManager.cs @@ -23,12 +23,6 @@ public class OccasionalManager : WorldObjectManager foreach (var proxy in cannon._realDebrisSectorProxies) { - // NH can remove these - if (!proxy) - { - continue; - } - SpawnOccasional(proxy.transform.root.GetAttachedOWRigidbody(), gdBody); }