Move check origin from IssueTemplate to Issue

As a result we can also make check an interface, and need to provide the check itself when constructing an issue.
This commit is contained in:
Naxess
2021-04-12 10:08:08 +02:00
parent 42604afcdc
commit 65ebdd8f7a
8 changed files with 33 additions and 41 deletions

View File

@ -130,7 +130,7 @@ namespace osu.Game.Screens.Edit.Verify
{
table.Issues = beatmapVerifier.Run(Beatmap)
.OrderByDescending(issue => issue.Template.Type)
.ThenByDescending(issue => issue.Template.Origin.Metadata.Category);
.ThenByDescending(issue => issue.Check.Metadata.Category);
}
}
}