Skip to content

Commit

Permalink
Merge pull request #231 from Beamographic:dependabot/nuget/ppy.osu.Ga…
Browse files Browse the repository at this point in the history
…me-2022.418.0

Bump ppy.osu.Game from 2022.319.0 to 2022.418.0
  • Loading branch information
LumpBloom7 authored Apr 21, 2022
2 parents 2c87491 + b328c59 commit 52d845e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
9 changes: 3 additions & 6 deletions osu.Game.Rulesets.Rush/Mods/RushModAutoplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@

using System.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Rush.Replays;
using osu.Game.Scoring;

namespace osu.Game.Rulesets.Rush.Mods
{
public class RushModAutoplay : ModAutoplay
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
public override ModReplayData CreateReplayData(IBeatmap beatmap, IReadOnlyList<Mod> mods)
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "Autoplay" } },
Replay = new RushAutoGenerator(beatmap).Generate()
};
return new ModReplayData(new RushAutoGenerator(beatmap).Generate(), new ModCreatedUser { Username = "Autoplay" });
}
}
}
9 changes: 3 additions & 6 deletions osu.Game.Rulesets.Rush/Mods/RushModCinema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@

using System.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Rush.Objects;
using osu.Game.Rulesets.Rush.Replays;
using osu.Game.Scoring;

namespace osu.Game.Rulesets.Rush.Mods
{
public class RushModCinema : ModCinema<RushHitObject>
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
public override ModReplayData CreateReplayData(IBeatmap beatmap, IReadOnlyList<Mod> mods)
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "Autoplay" } },
Replay = new RushAutoGenerator(beatmap).Generate()
};
return new ModReplayData(new RushAutoGenerator(beatmap).Generate(), new ModCreatedUser { Username = "Autoplay" });
}
}
}
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Rush/osu.Game.Rulesets.Rush.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2022.319.0" />
<PackageReference Include="ppy.osu.Game" Version="2022.418.0" />
</ItemGroup>
</Project>

0 comments on commit 52d845e

Please sign in to comment.