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