calm the comments down a bit now that im not cuckoo crazy

This commit is contained in:
JohnCorby 2022-08-30 14:00:04 -07:00
parent bcababd466
commit 5b4fb78ee6
3 changed files with 3 additions and 2 deletions

View File

@ -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>();

View File

@ -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());

View File

@ -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);