Skip to content

Commit

Permalink
SetActive
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Sep 7, 2024
1 parent 375854a commit f86f437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Winch/Util/DockUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public static (StorageDestination, OverflowStorageDestination) CreateStorage(Pre
var box = StorageBox.Instantiate(storageObject.transform, false);
box.transform.localPosition = Vector3.zero;
box.transform.localEulerAngles = new Vector3(0, 360, 0);
box.transform.Find("StorageBox/StorageBoxes").gameObject.Deactivate();
box.transform.Find("StorageBox/StorageBoxes").gameObject.SetActive(prebuilt.hasBoxes);
return (storageDestination, overflowStorageDestination);
}

Expand Down

0 comments on commit f86f437

Please sign in to comment.