1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix field name and accessibility

This commit is contained in:
Naxess 2021-04-10 15:49:57 +02:00
parent 7d40b01722
commit dac733cced

View File

@ -12,7 +12,7 @@ namespace osu.Game.Rulesets.Osu.Edit
{
public class OsuChecker : Checker
{
public readonly List<Check> beatmapChecks = new List<Check>
private readonly List<Check> checks = new List<Check>
{
new CheckOffscreenObjects()
};
@ -23,7 +23,7 @@ namespace osu.Game.Rulesets.Osu.Edit
foreach (var issue in base.Run(beatmap))
yield return issue;
foreach (var issue in beatmapChecks.SelectMany(check => check.Run(beatmap)))
foreach (var issue in checks.SelectMany(check => check.Run(beatmap)))
yield return issue;
}
}