Merge pull request #1950 from ThePyrotechnic/local-name-fix

Use obtained value for displayed name.
This commit is contained in:
Dean Herbert 2018-01-25 07:05:21 +09:00 committed by GitHub
commit d08e8b0c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ private void run()
userReq.Success += u =>
{
LocalUser.Value = u;
Username = LocalUser.Value.Username;
failureCount = 0;
//we're connected!