mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-26 12:15:48 +00:00
dont need to worry about nh destroying stuff anymore, so stop checking for that
This commit is contained in:
parent
1b0f2cec97
commit
391b9ade56
@ -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<RemoteFlightConsole>()._modelShipBody;
|
||||
if (!modelShip)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (QSBCore.IsHost)
|
||||
{
|
||||
Instantiate(QSBNetworkManager.singleton.ModelShipPrefab).SpawnWithServerOwnership();
|
||||
|
@ -91,17 +91,12 @@ 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<Sector>();
|
||||
// use the same trigger as the parent sector
|
||||
FakeSector.Create(TimeLoopRing_Body, Sector_TimeLoopInterior,
|
||||
x => x._triggerRoot = Sector_TimeLoopInterior._triggerRoot);
|
||||
}
|
||||
}
|
||||
|
||||
// TH elevators
|
||||
foreach (var elevator in QSBWorldSync.GetUnityObjects<Elevator>())
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user