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:
parent
08b1a3cbe2
commit
24956588e9
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user