1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Add comment for implicitly-used method

This commit is contained in:
Dan Balasescu 2021-11-17 20:22:43 +09:00
parent abb333299b
commit 2ae46f901e

View File

@ -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();
}