mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Fix potential null ref in ResultsScreen
This commit is contained in:
parent
1907beb0c9
commit
655491ae2d
@ -160,7 +160,7 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
if (allowWatchingReplay)
|
||||
{
|
||||
buttons.Add(new ReplayDownloadButton(null)
|
||||
buttons.Add(new ReplayDownloadButton(SelectedScore.Value)
|
||||
{
|
||||
Score = { BindTarget = SelectedScore },
|
||||
Width = 300
|
||||
|
Loading…
Reference in New Issue
Block a user