Код компиляции документа

This commit is contained in:
2025-03-19 23:42:25 +03:00
parent b5acf25310
commit de16ee3a70
6 changed files with 54 additions and 27 deletions
+3 -1
View File
@@ -16,9 +16,11 @@ namespace mROA.CodegenTools
public string LinkedTag => _linkedTag;
public int TargetLength { get; }
public string Bake()
{
return Context.Parts.OfType<ITagged>().FirstOrDefault(i => i.Tag == _linkedTag)?.Bake();
return Context[_linkedTag]?.Bake();
}
}
}