mirror of https://github.com/ppy/osu
Use `==` instead of `??`
This commit is contained in:
parent
cef99fd020
commit
abf9039109
|
@ -267,7 +267,7 @@ private void changeBeatmap(WorkingBeatmap newWorking)
|
||||||
|
|
||||||
TrackChangeDirection direction = TrackChangeDirection.None;
|
TrackChangeDirection direction = TrackChangeDirection.None;
|
||||||
|
|
||||||
bool audioEquals = newWorking?.BeatmapInfo?.AudioEquals(current?.BeatmapInfo) ?? false;
|
bool audioEquals = newWorking?.BeatmapInfo?.AudioEquals(current?.BeatmapInfo) == true;
|
||||||
|
|
||||||
if (current != null)
|
if (current != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue