From 49658b6f82d097777705f6eaa670bd0fc4339be6 Mon Sep 17 00:00:00 2001 From: apollo-dw <83023433+apollo-dw@users.noreply.github.com> Date: Wed, 15 Sep 2021 10:29:30 +0100 Subject: [PATCH] set greatWindow to readonly --- osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs b/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs index 19f9e3f849..93d3227649 100644 --- a/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs +++ b/osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs @@ -30,7 +30,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills private const double min_speed_bonus = 75; // ~200BPM private const double speed_balancing_factor = 40; - private double greatWindow; + + private readonly double greatWindow; public Speed(Mod[] mods, float od, double clockRate) : base(mods)