Use `==` instead of `??`

This commit is contained in:
Salman Ahmed 2022-05-20 14:44:07 +03:00
parent cef99fd020
commit abf9039109
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ private void changeBeatmap(WorkingBeatmap newWorking)
TrackChangeDirection direction = TrackChangeDirection.None;
bool audioEquals = newWorking?.BeatmapInfo?.AudioEquals(current?.BeatmapInfo) ?? false;
bool audioEquals = newWorking?.BeatmapInfo?.AudioEquals(current?.BeatmapInfo) == true;
if (current != null)
{