mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-20 15:41:01 +00:00
calm the comments down a bit now that im not cuckoo crazy
This commit is contained in:
parent
bcababd466
commit
5b4fb78ee6
@ -18,6 +18,7 @@ public class MeteorManager : WorldObjectManager
|
||||
await UniTask.WaitUntil(() => LateInitializerManager.isDoneInitializing, cancellationToken: ct);
|
||||
|
||||
// NH can make multiple so fuck it just choose one
|
||||
// TODO: do GameObject.Find here instead
|
||||
WhiteHoleVolume = QSBWorldSync.GetUnityObjects<WhiteHoleVolume>().First();
|
||||
QSBWorldSync.Init<QSBFragment, FragmentIntegrity>();
|
||||
QSBWorldSync.Init<QSBMeteorLauncher, MeteorLauncher>();
|
||||
|
@ -12,7 +12,7 @@ public class OrbManager : WorldObjectManager
|
||||
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
||||
|
||||
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) =>
|
||||
// NH sometimes makes the body (BUT NOT THE ORB) null SOMEHOW!!!!!!
|
||||
// NH sometimes makes the body (but not the orb) null
|
||||
QSBWorldSync.Init<QSBOrb, NomaiInterfaceOrb>(QSBWorldSync.GetUnityObjects<NomaiInterfaceOrb>()
|
||||
.Where(x => x.GetAttachedOWRigidbody())
|
||||
.SortDeterministic());
|
||||
|
@ -17,7 +17,7 @@ internal class OccasionalManager : WorldObjectManager
|
||||
{
|
||||
var gdBody = Locator._giantsDeep.GetOWRigidbody();
|
||||
var cannon = Locator._orbitalProbeCannon.GetRequiredComponent<OrbitalProbeLaunchController>();
|
||||
// NH sometimes makes the body (BUT NOT THE CANNON) null SOMEHOW!!!!!!
|
||||
// NH sometimes makes the body (but not the cannon) null
|
||||
if (cannon.GetAttachedOWRigidbody())
|
||||
{
|
||||
SpawnOccasional(cannon.GetAttachedOWRigidbody(), gdBody);
|
||||
|
Loading…
x
Reference in New Issue
Block a user