mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Get HGT streaming group more reliably
This commit is contained in:
parent
eb16154455
commit
a620158907
@ -1,3 +1,4 @@
|
|||||||
|
using NewHorizons.Utility;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
@ -143,7 +144,7 @@ namespace NewHorizons.Handlers
|
|||||||
{
|
{
|
||||||
if (name is AstroObject.Name.CaveTwin or AstroObject.Name.TowerTwin)
|
if (name is AstroObject.Name.CaveTwin or AstroObject.Name.TowerTwin)
|
||||||
{
|
{
|
||||||
return GameObject.Find("FocalBody/StreamingGroup_HGT").GetComponent<StreamingGroup>();
|
return SearchUtilities.Find("FocalBody/StreamingGroup_HGT").GetComponent<StreamingGroup>();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user