mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Don't return low res and too low res at the same time
This commit is contained in:
parent
62c54e00cb
commit
cb41c89935
@ -44,8 +44,7 @@ namespace osu.Game.Rulesets.Edit.Checks
|
||||
|
||||
if (texture.Width < min_width || texture.Height < min_height)
|
||||
yield return new IssueTemplateTooLowResolution(this).Create(texture.Width, texture.Height);
|
||||
|
||||
if (texture.Width < low_width || texture.Height < low_height)
|
||||
else if (texture.Width < low_width || texture.Height < low_height)
|
||||
yield return new IssueTemplateLowResolution(this).Create(texture.Width, texture.Height);
|
||||
|
||||
string storagePath = workingBeatmap.BeatmapInfo.BeatmapSet.GetPathForFile(workingBeatmap.Metadata.BackgroundFile);
|
||||
|
Loading…
Reference in New Issue
Block a user