mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
dont concat
This commit is contained in:
parent
5638844f7c
commit
13a8b229a6
@ -111,7 +111,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
|
|
||||||
StreamingHandler.SetUpStreaming(prop, sector);
|
StreamingHandler.SetUpStreaming(prop, sector);
|
||||||
|
|
||||||
foreach (var component in prop.GetComponents<Component>().Concat(prop.GetComponentsInChildren<Component>()))
|
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
||||||
{
|
{
|
||||||
// Enable all children or something
|
// Enable all children or something
|
||||||
var enabledField = component?.GetType()?.GetField("enabled");
|
var enabledField = component?.GetType()?.GetField("enabled");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user