Simplify IsOnlineScope usage

This commit is contained in:
Dean Herbert
2022-01-28 23:17:06 +09:00
parent daea13f491
commit 0293d95f82
2 changed files with 4 additions and 1 deletions

View File

@ -195,7 +195,7 @@ namespace osu.Game.Screens.Select.Leaderboards
void localScoresChanged(IRealmCollection<ScoreInfo> sender, ChangeSet changes, Exception exception)
{
if (IsOnlineScope || cancellationToken.IsCancellationRequested)
if (cancellationToken.IsCancellationRequested)
return;
var scores = sender.AsEnumerable();