Reconstruct resource structure.

This commit is contained in:
2022-11-18 00:11:49 +08:00
parent 79240fdfe8
commit 15e9217f93
3 changed files with 77 additions and 25 deletions

View File

@@ -148,7 +148,6 @@ namespace Cryville.Crtr.Extensions.Malody {
meta.note_count = group.notes.Count;
string chartName = string.Format("{0} - {1}", meta.song.name, meta.name);
if (src.meta.background != null) {
result.Add(new CoverResource(chartName, new FileInfo(file.DirectoryName + "/" + src.meta.background)));
meta.cover = src.meta.background;
}
result.Add(new RawChartResource(chartName, chart, meta));