mirror of
https://github.com/ppy/osu
synced 2024-12-17 04:15:37 +00: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