From 7866c26f955c6b568f69262c3bcd1461b41c1e0a Mon Sep 17 00:00:00 2001 From: recapitalverb <41869184+recapitalverb@users.noreply.github.com> Date: Fri, 14 Feb 2020 22:18:56 +0700 Subject: [PATCH] Make OsuConfigManager instances readonly --- osu.Game/Online/API/APIAccess.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osu.Game/Online/API/APIAccess.cs b/osu.Game/Online/API/APIAccess.cs index cae073f596..adfef1d11f 100644 --- a/osu.Game/Online/API/APIAccess.cs +++ b/osu.Game/Online/API/APIAccess.cs @@ -9,7 +9,6 @@ using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json.Linq; -using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Extensions.ExceptionExtensions; using osu.Framework.Graphics; @@ -22,7 +21,7 @@ namespace osu.Game.Online.API { public class APIAccess : Component, IAPIProvider { - private OsuConfigManager config { get; set; } + private readonly OsuConfigManager config; private readonly OAuth authentication;