1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Fix null reference in equality comparison causing beatmap set overlay to crash

This commit is contained in:
Dean Herbert 2022-01-17 12:56:43 +09:00
parent 5601f6f1fe
commit 88bf406c22

View File

@ -107,7 +107,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{
set
{
if (score.Equals(value))
if (score?.Equals(value) == true)
return;
score = value;