diff --git a/osu.Game/Graphics/Cursor/CursorTrail.cs b/osu.Game/Graphics/Cursor/CursorTrail.cs index 362a235bca..1c640b64d0 100644 --- a/osu.Game/Graphics/Cursor/CursorTrail.cs +++ b/osu.Game/Graphics/Cursor/CursorTrail.cs @@ -39,7 +39,7 @@ namespace osu.Game.Graphics.Cursor private Vector2? lastPosition; - private InputResampler resampler = new InputResampler(); + private readonly InputResampler resampler = new InputResampler(); protected override DrawNode CreateDrawNode() => new TrailDrawNode();