Simplify to text line

This commit is contained in:
Noah Pilarski 2022-08-20 10:24:12 -04:00
parent dc569bff73
commit 53ae788d2e

View File

@ -48,7 +48,7 @@ namespace NewHorizons.Builder.Props
{ {
if (Main.Instance.CurrentStarSystem == "EyeOfTheUniverse") if (Main.Instance.CurrentStarSystem == "EyeOfTheUniverse")
{ {
var existingArcs = GameObject.FindObjectsOfType<NomaiWallText>().SelectMany(x => x._textLines).Select(x => x?.gameObject).Where(x => x != null).ToArray(); var existingArcs = GameObject.FindObjectsOfType<NomaiTextLine>().Select(x => x?.gameObject).Where(x => x != null).ToArray();
_arcPrefabs = new List<GameObject>(); _arcPrefabs = new List<GameObject>();
_childArcPrefabs = new List<GameObject>(); _childArcPrefabs = new List<GameObject>();
_ghostArcPrefabs = new List<GameObject>(); _ghostArcPrefabs = new List<GameObject>();