Merge pull request #5 from croakfang/master

Fix issue when loading glasses
This commit is contained in:
katboi01
2022-10-30 22:07:24 +01:00
committed by GitHub
2 changed files with 10 additions and 4 deletions
-4
View File
@@ -33,10 +33,6 @@ public class UmaContainer : MonoBehaviour
public void OnDestroy()
{
if (FaceDrivenKeyTargets != null)
{
UmaViewerUI.Instance.LoadFacialPanels(null);
}
if (TryGetComponent<PuppetMaster>(out PuppetMaster t))
{
Destroy(this);