Fixed exit from game save username instead of email. Resolve #2156

This commit is contained in:
vperus
2018-03-13 12:05:52 +02:00
parent c332233a65
commit ba44813c00
2 changed files with 1 additions and 2 deletions

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