mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Seal banned method & throw better exception
This commit is contained in:
@ -40,9 +40,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
return drawable;
|
||||
}
|
||||
|
||||
public override void Add(GameplayLeaderboardScore drawable)
|
||||
public sealed override void Add(GameplayLeaderboardScore drawable)
|
||||
{
|
||||
throw new InvalidOperationException($"Use {nameof(AddPlayer)} instead.");
|
||||
throw new NotSupportedException($"Use {nameof(AddPlayer)} instead.");
|
||||
}
|
||||
|
||||
private void sort()
|
||||
|
Reference in New Issue
Block a user