Codegen in modidier support

This commit is contained in:
micialware committed 2026-01-29 23:15:39 +03:00
1 parent b4280cd06d
commit 84f9840024
17 files changed
+316 -75

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ namespace mROA.Codegen
{
public static TemplateDocument CloneInnerTemplate(this TemplateDocument template, string tag)
{
var innerTemplate = template[tag] as InnerTemplateSection
var innerTemplate = template[tag] as InnerTemplateSection
?? throw new InvalidOperationException();
var clone = innerTemplate.InnerTemplate.Clone();
return (TemplateDocument)clone;