Skip to content

Commit

Permalink
Update to latest osu!lazer version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Game4all committed Nov 25, 2021
1 parent 8ed1e8c commit 723f9d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions osu.Game.Rulesets.Gamebosu/GamebosuDifficultyCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ namespace osu.Game.Rulesets.Gamebosu
{
public class GamebosuDifficultyCalculator : DifficultyCalculator
{
public GamebosuDifficultyCalculator(Ruleset ruleset, WorkingBeatmap beatmap)
: base(ruleset, beatmap)
public GamebosuDifficultyCalculator(Ruleset ruleset, IWorkingBeatmap beatmap)
: base(ruleset.RulesetInfo, beatmap)
{
}

protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)
{
return new DifficultyAttributes(mods, skills, 0);
}
protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)
=> new DifficultyAttributes(mods, 0);

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

Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Gamebosu/GamebosuRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override DrawableRuleset CreateDrawableRulesetWith(IBeatmap beatmap, IRea
public override IBeatmapConverter CreateBeatmapConverter(IBeatmap beatmap) =>
new GamebosuBeatmapConverter(beatmap, this);

public override DifficultyCalculator CreateDifficultyCalculator(WorkingBeatmap beatmap) =>
public override DifficultyCalculator CreateDifficultyCalculator(IWorkingBeatmap beatmap) =>
new GamebosuDifficultyCalculator(this, beatmap);

//this exists for the sole purpose of disabling the red tint on playfield when health is low.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<EmbeddedResource Include="Resources\**\*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2021.1113.0" />
<PackageReference Include="ppy.osu.Game" Version="2021.1122.0" />
<ProjectReference Include="..\Emux\Emux.GameBoy\Emux.GameBoy.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)'=='Release'">
Expand Down

0 comments on commit 723f9d6

Please sign in to comment.