fixed null reference error and removed debug sphere

This commit is contained in:
FreezeDriedMangoes 2023-02-03 11:39:35 -05:00
parent 5d409d7be8
commit 97c602b88c

View File

@ -191,7 +191,7 @@ namespace NewHorizons.Builder.Props
}
}
nomaiWallTextObj.GetComponent<NomaiTextArcArranger>().DrawBoundsWithDebugSpheres();
// nomaiWallTextObj.GetComponent<NomaiTextArcArranger>().DrawBoundsWithDebugSpheres();
nomaiWallTextObj.SetActive(true);
conversationInfoToCorrespondingSpawnedGameObject[info] = nomaiWallTextObj;
@ -697,7 +697,7 @@ namespace NewHorizons.Builder.Props
// manual placement
for (var j = 0; j < info.arcInfo.Length; j++)
for (var j = 0; j < info.arcInfo?.Length; j++)
{
var arcInfo = info.arcInfo[j];
var arc = arranger.spirals[j];