1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 07:04:15 +08:00

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

@ -125,7 +125,6 @@ namespace osu.Game.Online.API
userReq.Success += u =>
{
LocalUser.Value = u;
Username = LocalUser.Value.Username;
failureCount = 0;
//we're connected!

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