1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00
This commit is contained in:
Dean Herbert 2017-05-16 20:08:22 +09:00
parent 23807aa3b9
commit 041d4f93c0

View File

@ -34,7 +34,7 @@ namespace osu.Game.Online.API
public string Password; public string Password;
public Bindable<User> LocalUser = new Bindable<User>(createGustUser()); public Bindable<User> LocalUser = new Bindable<User>(createGuestUser());
public string Token public string Token
{ {
@ -297,10 +297,10 @@ namespace osu.Game.Online.API
clearCredentials(); clearCredentials();
authentication.Clear(); authentication.Clear();
State = APIState.Offline; State = APIState.Offline;
LocalUser.Value = createGustUser(); LocalUser.Value = createGuestUser();
} }
private static User createGustUser() => new User private static User createGuestUser() => new User
{ {
Username = @"Guest", Username = @"Guest",
Id = 1, Id = 1,