Turn on nullability in ParticipantPanel

This commit is contained in:
Dean Herbert
2022-07-18 15:27:55 +09:00
parent 222a50c457
commit 21bf7ee448
2 changed files with 12 additions and 13 deletions

View File

@ -5,6 +5,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Humanizer;
using MessagePack;
@ -48,7 +49,7 @@ namespace osu.Game.Online.API
}
}
public Mod ToMod(Ruleset ruleset)
public Mod ToMod([NotNull] Ruleset ruleset)
{
Mod resultMod = ruleset.CreateModFromAcronym(Acronym);