This commit is contained in:
2025-05-03 14:25:04 +08:00
parent cca8ec49a6
commit 23fa72f91a
8 changed files with 151 additions and 11 deletions

View File

@@ -130,7 +130,8 @@ namespace Ichni.Editor
{
Debug.Log(submodule.GetType() + " is pasted.");
submodule.SaveBM();
(submodule.matchedBM as Submodule_BM).DuplicateBM(pastedElement);
try { (submodule.matchedBM as Submodule_BM).DuplicateBM(pastedElement); }
catch { Debug.LogWarning("Submodule paste error: " + submodule.GetType()); }
});
if (gameElement.childElementList != null)