1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 18:47:27 +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 set
{ {
if (score.Equals(value)) if (score?.Equals(value) == true)
return; return;
score = value; score = value;