1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix another case of incorrect null checking in editor verification processing

This commit is contained in:
Dean Herbert 2021-11-04 15:18:10 +09:00
parent d1e6d1cb98
commit e43d91ad5d

View File

@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Edit.Checks
{
string filename = GetFilename(context.Beatmap);
if (filename == null)
if (string.IsNullOrEmpty(filename))
{
yield return new IssueTemplateNoneSet(this).Create(TypeOfFile);