1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Fix invalid equality comparison in BeatmapLeaderboard

This commit is contained in:
Dean Herbert 2021-12-17 19:39:04 +09:00
parent 86ce2256be
commit 4295815c7d

View File

@ -37,7 +37,7 @@ namespace osu.Game.Screens.Select.Leaderboards
get => beatmapInfo;
set
{
if (beatmapInfo.Equals(value))
if (beatmapInfo?.Equals(value) == true)
return;
beatmapInfo = value;