mark my confusion

This commit is contained in:
JohnCorby 2022-08-30 14:01:03 -07:00
parent 5b4fb78ee6
commit 1a1c7601af
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ public class QSBItem<T> : WorldObject<T>, IQSBItem
_lastSector = sector.GetWorldObject<QSBSector>();
}
// NH can make item not have parent
// NH can make item not have parent. what
var socket = _lastParent?.GetComponent<OWItemSocket>();
if (socket != null)
{

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
// NH sometimes makes the body (but not the orb) null. what
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
// NH sometimes makes the body (but not the cannon) null. what
if (cannon.GetAttachedOWRigidbody())
{
SpawnOccasional(cannon.GetAttachedOWRigidbody(), gdBody);