mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix DrawableFlag returns empty texture if there's no flag avaliable for needed country
This commit is contained in:
@ -26,7 +26,7 @@ namespace osu.Game.Users.Drawables
|
||||
if (ts == null)
|
||||
throw new ArgumentNullException(nameof(ts));
|
||||
|
||||
Texture = ts.Get($@"Flags/{country?.FlagName ?? @"__"}");
|
||||
Texture = ts.Get($@"Flags/{country?.FlagName ?? @"__"}") ?? ts.Get($@"Flags/__");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user