mirror of
https://github.com/ppy/osu
synced 2024-12-13 02:17:32 +00:00
Remove unnesessary Username field check
This commit is contained in:
parent
ba1d0b3a84
commit
5fbc0e408b
@ -68,7 +68,7 @@ namespace osu.Game
|
||||
Dependencies.Cache(API = new APIAccess
|
||||
{
|
||||
Username = Config.Get<string>(OsuConfig.Username),
|
||||
Token = string.IsNullOrEmpty(Config.Get<string>(OsuConfig.Username)) ? string.Empty : Config.Get<string>(OsuConfig.Token)
|
||||
Token = Config.Get<string>(OsuConfig.Username)
|
||||
});
|
||||
|
||||
API.Register(this);
|
||||
|
Loading…
Reference in New Issue
Block a user