This commit is contained in:
Noah Pilarski 2022-08-20 09:38:18 -04:00
parent 9dfbdfddfe
commit 95ea7d9cc5

View File

@ -110,7 +110,6 @@ namespace NewHorizons.Builder.Props
} }
else else
{ {
GameObject detailGO = MakeDetail(planetGO, sector, prefab, info); GameObject detailGO = MakeDetail(planetGO, sector, prefab, info);
if (info.removeChildren != null) if (info.removeChildren != null)
@ -170,6 +169,8 @@ namespace NewHorizons.Builder.Props
Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}"); Logger.LogWarning($"Cannot find parent object at path: {planetGO.name}/{info.parentPath}");
} }
} }
return detailGO;
} }
} }