mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
its already inactive
This commit is contained in:
parent
13a8b229a6
commit
baa25a73ae
@ -107,7 +107,6 @@ namespace NewHorizons.Builder.Props
|
|||||||
|
|
||||||
GameObject prop = prefab.InstantiateInactive();
|
GameObject prop = prefab.InstantiateInactive();
|
||||||
prop.transform.parent = sector?.transform ?? planetGO.transform;
|
prop.transform.parent = sector?.transform ?? planetGO.transform;
|
||||||
prop.SetActive(false);
|
|
||||||
|
|
||||||
StreamingHandler.SetUpStreaming(prop, sector);
|
StreamingHandler.SetUpStreaming(prop, sector);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user