1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +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;