Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #40 from GSculerlor/dependabot-nuget-dev-rework-pp…
Browse files Browse the repository at this point in the history
…y.osu.Game-2021.623.0
  • Loading branch information
GSculerlor authored Jun 25, 2021
2 parents 636f8df + 908bd1c commit e26ca2e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public CytosuRulesetConfigManager(SettingsStore settings, RulesetInfo ruleset, i
protected override void InitialiseDefaults()
{
base.InitialiseDefaults();
Set(CytosuRulesetSetting.ShowCursor, true);
SetDefault(CytosuRulesetSetting.ShowCursor, true);
}
}

Expand Down
3 changes: 2 additions & 1 deletion osu.Game.Rulesets.Cytosu/CytosuDifficultyCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beat

protected override IEnumerable<DifficultyHitObject> CreateDifficultyHitObjects(IBeatmap beatmap, double clockRate) => Enumerable.Empty<DifficultyHitObject>();

protected override Skill[] CreateSkills(IBeatmap beatmap, Mod[] mods)
protected override Skill[] CreateSkills(IBeatmap beatmap, Mod[] mods, double clockRate)
{
return Array.Empty<Skill>();

}
}
}
12 changes: 6 additions & 6 deletions osu.Game.Rulesets.Cytosu/Mods/CytosuModAutoplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace osu.Game.Rulesets.Cytosu.Mods
{
public class CytosuModAutoplay : ModAutoplay<CytosuHitObject>, IApplicableToDrawableHitObjects
public class CytosuModAutoplay : ModAutoplay, IApplicableToDrawableHitObject
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
Expand All @@ -25,12 +25,12 @@ public class CytosuModAutoplay : ModAutoplay<CytosuHitObject>, IApplicableToDraw
Replay = new CytosuAutoGenerator(beatmap).Generate(),
};

public void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables)
public void ApplyToDrawableHitObject(DrawableHitObject drawable)
{
foreach (var hitObject in drawables.OfType<DrawableCytosuHitObject>())
{
hitObject.ShouldPerfectlyJudged = true;
}
if (drawable is not DrawableCytosuHitObject drawableCytosu)
return;

drawableCytosu.ShouldPerfectlyJudged = true;
}
}
}
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Cytosu/osu.Game.Rulesets.Cytosu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<Folder Include="Resources"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2021.602.0"/>
<PackageReference Include="ppy.osu.Game" Version="2021.623.0"/>
</ItemGroup>
</Project>

0 comments on commit e26ca2e

Please sign in to comment.