diff --git a/Program.cs b/Program.cs index 546368d..00772a0 100644 --- a/Program.cs +++ b/Program.cs @@ -345,7 +345,7 @@ static void GenCfgTree(EngineVersion ueVersion, string? mappings, string assetIn var outputPath = Path.Join(outputDir, Path.ChangeExtension(Path.GetFileName(assetPath), ".html")); Directory.CreateDirectory(outputDir); - UAsset asset = LoadAsset(ueVersion, mappings, assetPath); + UAsset asset = new UAsset(assetPath, ueVersion, usmap); var dot = new StringWriter(); if (new SummaryGenerator(asset, TextWriter.Null, dot).Summarize()) {