From 24956588e906af6aa39d1f79e95870908f359a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Tue, 10 Oct 2023 09:28:01 +0200 Subject: [PATCH] Fix score importer looking up guest user by username online --- osu.Game/Scoring/ScoreImporter.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game/Scoring/ScoreImporter.cs b/osu.Game/Scoring/ScoreImporter.cs index 886fb1379c..7473d887c3 100644 --- a/osu.Game/Scoring/ScoreImporter.cs +++ b/osu.Game/Scoring/ScoreImporter.cs @@ -190,6 +190,9 @@ namespace osu.Game.Scoring /// 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))