This commit is contained in:
xen-42 2024-10-02 22:13:24 -04:00
parent 6a47777497
commit 676fc3672d

View File

@ -67,6 +67,8 @@ namespace NewHorizons.Builder.Props
/// </summary>
public static GameObject Make(GameObject planetGO, Sector sector, IModBehaviour mod, DetailInfo info)
{
if (sector == null) info.keepLoaded = true;
if (info.assetBundle != null)
{
// Shouldn't happen
@ -98,6 +100,8 @@ namespace NewHorizons.Builder.Props
{
if (prefab == null) return null;
if (sector == null) detail.keepLoaded = true;
GameObject prop;
bool isItem;
bool invalidComponentFound = false;