mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Less verbose DrawableFlag constructor.
This commit is contained in:
@ -49,9 +49,9 @@ namespace osu.Game.Users
|
||||
sprite.Texture = textures.Get($@"Flags/{flagName}");
|
||||
}
|
||||
|
||||
public DrawableFlag(string name = @"__")
|
||||
public DrawableFlag(string name = null)
|
||||
{
|
||||
flagName = name;
|
||||
flagName = name ?? @"__";
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
Reference in New Issue
Block a user