1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 12:17:46 +08:00

Change ?? false test to == true for legibility

This commit is contained in:
Bartłomiej Dach 2022-08-08 19:19:13 +02:00
parent 070d156e89
commit 00333fb0d2
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -58,7 +58,7 @@ namespace osu.Game.Overlays.Mods
private CancellationTokenSource? cancellationTokenSource; private CancellationTokenSource? cancellationTokenSource;
private Task? latestLoadTask; private Task? latestLoadTask;
internal bool ItemsLoaded => latestLoadTask?.IsCompleted ?? false; internal bool ItemsLoaded => latestLoadTask?.IsCompleted == true;
private void asyncLoadPanels(IRealmCollection<ModPreset> presets, ChangeSet changes, Exception error) private void asyncLoadPanels(IRealmCollection<ModPreset> presets, ChangeSet changes, Exception error)
{ {