Do not include installers that have not been activated in the mapping.

This commit is contained in:
raiti-chan 2022-12-14 19:27:19 +09:00
parent 99167df170
commit ca575eed91

View File

@ -39,6 +39,7 @@ namespace nadena.dev.modular_avatar.core.editor {
}
public void MappingMenuInstaller(ModularAvatarMenuInstaller installer) {
if (!installer.enabled) return;
if (installer.menuToAppend == null) return;
this.MappingMenu(installer.menuToAppend, installer);
}