mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 02:30:06 +08:00
Fix another case of incorrect null checking in editor verification processing
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user