From 5fbc0e408bdd33068fe9d65e14240893738bc806 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Sat, 24 Dec 2016 09:16:17 +0300 Subject: [PATCH] Remove unnesessary Username field check --- osu.Game/OsuGameBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs index 632555cd13..a91db9414f 100644 --- a/osu.Game/OsuGameBase.cs +++ b/osu.Game/OsuGameBase.cs @@ -68,7 +68,7 @@ namespace osu.Game Dependencies.Cache(API = new APIAccess { Username = Config.Get(OsuConfig.Username), - Token = string.IsNullOrEmpty(Config.Get(OsuConfig.Username)) ? string.Empty : Config.Get(OsuConfig.Token) + Token = Config.Get(OsuConfig.Username) }); API.Register(this);