Fix menu not working after going to site from menu

This commit is contained in:
Pascal Serrarens 2022-02-24 15:49:38 +01:00
parent 3d7fff1c15
commit 24a0f22ce1

View File

@ -240,7 +240,8 @@ namespace Passer {
} }
this.gameObject.SetActive(false); this.gameObject.SetActive(false);
transform.parent.gameObject.SetActive(false); //transform.parent.gameObject.SetActive(false);
transform.parent.parent.gameObject.SetActive(false); // HumanoidMenu
if (mainMenuUI != null) if (mainMenuUI != null)
mainMenuUI.SetActive(true); mainMenuUI.SetActive(true);
siteNavigator.LoadSiteFromURL(site.siteLocation); siteNavigator.LoadSiteFromURL(site.siteLocation);