1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 07:14:10 +08:00

Add comment for implicitly-used method

This commit is contained in:
Dan Balasescu
2021-11-17 20:22:43 +09:00
Unverified
parent abb333299b
commit 2ae46f901e
@@ -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<ModFlashlight>().Any();
}