mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix details with removeComponents being active too early
This commit is contained in:
parent
a31e1d0499
commit
28df733eab
@ -174,6 +174,7 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
// Just swap all the children to a new game object
|
||||
var newDetailGO = new GameObject(prop.name);
|
||||
newDetailGO.SetActive(false);
|
||||
newDetailGO.transform.position = prop.transform.position;
|
||||
newDetailGO.transform.parent = prop.transform.parent;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user