1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00

Fix incorrect null check on now-bindable DifficultyRange

This commit is contained in:
Dean Herbert 2022-02-21 19:38:26 +09:00
parent ffa5291b74
commit c7e9cf904b

View File

@ -87,7 +87,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
StarDifficulty minDifficulty;
StarDifficulty maxDifficulty;
if (room.DifficultyRange != null)
if (room.DifficultyRange.Value != null)
{
minDifficulty = new StarDifficulty(room.DifficultyRange.Value.Min, 0);
maxDifficulty = new StarDifficulty(room.DifficultyRange.Value.Max, 0);