1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Apply NRT to UpdateableRank

This commit is contained in:
Dean Herbert 2024-06-07 16:54:12 +08:00
parent 72890bb9ac
commit 366ef64a2c
No known key found for this signature in database

View File

@ -1,8 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Game.Scoring; using osu.Game.Scoring;
@ -22,7 +20,7 @@ namespace osu.Game.Online.Leaderboards
Rank = rank; Rank = rank;
} }
protected override Drawable CreateDrawable(ScoreRank? rank) protected override Drawable? CreateDrawable(ScoreRank? rank)
{ {
if (rank.HasValue) if (rank.HasValue)
{ {