mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 06:39:54 +08:00
Fix OnlineAvailabilityTracker referencing a value in query that could potentially be null
This commit is contained in:
@@ -86,7 +86,7 @@ namespace osu.Game.Online.Rooms
|
||||
realmSubscription?.Dispose();
|
||||
realmSubscription = realmContextFactory.Context
|
||||
.All<BeatmapSetInfo>()
|
||||
.Where(s => s.OnlineID == SelectedItem.Value.BeatmapID) // TODO: figure out if we need this hash match in the subscription || s.ID == matchingHash?.ID)
|
||||
.Where(s => s.OnlineID == item.NewValue.BeatmapID) // TODO: figure out if we need this hash match in the subscription || s.ID == matchingHash?.ID)
|
||||
.QueryAsyncWithNotifications((items, changes, ___) =>
|
||||
{
|
||||
if (changes == null)
|
||||
|
||||
Reference in New Issue
Block a user