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:
parent
5601f6f1fe
commit
88bf406c22
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user