1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 08:07:24 +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 Bindable<User> LocalUser = new Bindable<User>(createGustUser());
public Bindable<User> LocalUser = new Bindable<User>(createGuestUser());
public string Token
{
@ -297,10 +297,10 @@ namespace osu.Game.Online.API
clearCredentials();
authentication.Clear();
State = APIState.Offline;
LocalUser.Value = createGustUser();
LocalUser.Value = createGuestUser();
}
private static User createGustUser() => new User
private static User createGuestUser() => new User
{
Username = @"Guest",
Id = 1,