1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 13:22:55 +08:00

Make field readonly.

This commit is contained in:
Dean Herbert 2017-05-08 11:47:06 +09:00
parent 2f4fad9d41
commit 10910cfcef

View File

@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.UI
set { modIcon.Icon = value; } set { modIcon.Icon = value; }
} }
private ModType type; private readonly ModType type;
public ModIcon(Mod mod) public ModIcon(Mod mod)
{ {