From 2ae46f901e7785adeb064f1a73733787e679c2cf Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Wed, 17 Nov 2021 20:22:43 +0900 Subject: [PATCH] Add comment for implicitly-used method --- osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs b/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs index 7673d08440..14a5a3e745 100644 --- a/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs +++ b/osu.Game.Rulesets.Osu/Difficulty/OsuDifficultyAttributes.cs @@ -70,6 +70,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty SliderFactor = values[19]; } + // Used implicitly by Newtonsoft.Json to not serialize flashlight property in some cases. [UsedImplicitly] public bool ShouldSerializeFlashlightRating() => Mods.OfType().Any(); }