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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user