mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Save the obtained username when online.
This commit is contained in:
@ -200,7 +200,7 @@ namespace osu.Game
|
||||
switch (state)
|
||||
{
|
||||
case APIState.Online:
|
||||
LocalConfig.Set(OsuSetting.Username, LocalConfig.Get<bool>(OsuSetting.SaveUsername) ? API.Username : string.Empty);
|
||||
LocalConfig.Set(OsuSetting.Username, LocalConfig.Get<bool>(OsuSetting.SaveUsername) ? API.LocalUser.Value.Username : string.Empty);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user