mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:02:55 +08:00
Use obtained value for displayed name.
This commit is contained in:
parent
64c32f5715
commit
b98d8361bd
@ -55,7 +55,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
avatar.User = new User();
|
||||
break;
|
||||
case APIState.Online:
|
||||
Text = api.Username;
|
||||
Text = api.LocalUser.Value.Username;
|
||||
avatar.User = api.LocalUser;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user