1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Use obtained value for displayed name.

This commit is contained in:
Michael Manis 2018-01-21 23:59:35 -05:00
parent 64c32f5715
commit b98d8361bd

View File

@ -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;
}