mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Remove unnesessary Username field check
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user