1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 12:50:38 +08:00

Save the obtained username when online.

This commit is contained in:
Michael Manis
2018-01-22 00:16:38 -05:00
Unverified
parent c4252ee022
commit 87ec36060d
+1 -1
View File
@@ -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;
}
}