Use Array.Empty.

This commit is contained in:
Huo Yaoyuan
2017-09-24 03:45:46 +08:00
parent c5aebf6401
commit 87c8278139
2 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ namespace osu.Game.Overlays.Mods
if (mod == null)
{
Mods = new Mod[0];
Mods = Array.Empty<Mod>();
Alpha = 0;
}
else