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:
parent
070d156e89
commit
00333fb0d2
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user