From 10910cfcef699659e158017f952410e22b1dc44b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 8 May 2017 11:47:06 +0900 Subject: [PATCH] Make field readonly. --- osu.Game/Rulesets/UI/ModIcon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Rulesets/UI/ModIcon.cs b/osu.Game/Rulesets/UI/ModIcon.cs index 957ffc18e4..b23028098f 100644 --- a/osu.Game/Rulesets/UI/ModIcon.cs +++ b/osu.Game/Rulesets/UI/ModIcon.cs @@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.UI set { modIcon.Icon = value; } } - private ModType type; + private readonly ModType type; public ModIcon(Mod mod) {