1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Handle null result

This commit is contained in:
Dean Herbert 2020-11-06 18:37:27 +09:00
parent c3c288145a
commit 4bbd3fe886

View File

@ -79,7 +79,7 @@ namespace osu.Game.Database
// rather than queueing, we maintain our own single-threaded request stream.
request.Perform(api);
return request.Result.Users;
return request.Result?.Users;
}
}