1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:52:55 +08:00

Fix score importer looking up guest user by username online

This commit is contained in:
Bartłomiej Dach 2023-10-10 09:28:01 +02:00
parent 08b1a3cbe2
commit 24956588e9
No known key found for this signature in database

View File

@ -190,6 +190,9 @@ namespace osu.Game.Scoring
/// </summary>
private void populateUserDetails(ScoreInfo model)
{
if (model.RealmUser.OnlineID == APIUser.SYSTEM_USER_ID)
return;
string username = model.RealmUser.Username;
if (usernameLookupCache.TryGetValue(username, out var existing))