mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Move hidden
initialisation to Flashlight constructor
This commit is contained in:
parent
a7aea49cb3
commit
3d3de00581
@ -20,6 +20,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
: base(mods)
|
||||
{
|
||||
this.mods = mods;
|
||||
this.hidden = mods.Any(m => m is OsuModHidden);
|
||||
}
|
||||
|
||||
private double skillMultiplier => 0.1;
|
||||
@ -40,8 +41,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
if (current.BaseObject is Spinner)
|
||||
return 0;
|
||||
|
||||
hidden = mods.Any(m => m is OsuModHidden);
|
||||
|
||||
var osuCurrent = (OsuDifficultyHitObject)current;
|
||||
var osuHitObject = (OsuHitObject)(osuCurrent.BaseObject);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user