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:
parent
5601f6f1fe
commit
88bf406c22
@ -107,7 +107,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
{
|
||||
set
|
||||
{
|
||||
if (score.Equals(value))
|
||||
if (score?.Equals(value) == true)
|
||||
return;
|
||||
|
||||
score = value;
|
||||
|
Loading…
Reference in New Issue
Block a user