diff --git a/Editor/BuildContext.cs b/Editor/BuildContext.cs index 10c06558..acd3f5cf 100644 --- a/Editor/BuildContext.cs +++ b/Editor/BuildContext.cs @@ -141,7 +141,7 @@ namespace nadena.dev.modular_avatar.core.editor foreach (var control in newMenu.controls) { - if (control.type == VRCExpressionsMenu.Control.ControlType.SubMenu) + if (control.type == VRCExpressionsMenu.Control.ControlType.SubMenu && control.subMenu != newMenu) { control.subMenu = CloneMenu(control.subMenu); }