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:
parent
ffa5291b74
commit
c7e9cf904b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user