Skip to content

Commit 70e6910

Browse files
authored
Merge pull request #111 from swoolcock/dependabot/nuget/ppy.osu.Game-2021.302.0
Bump ppy.osu.Game from 2021.226.0 to 2021.302.0
2 parents 82a13dc + 8a969fd commit 70e6910

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
22
// See the LICENCE file in the repository root for full licence text.
33

4+
using System.Collections.Generic;
45
using osu.Game.Beatmaps;
56
using osu.Game.Rulesets.Mods;
67
using osu.Game.Rulesets.Rush.Objects;
@@ -12,13 +13,10 @@ namespace osu.Game.Rulesets.Rush.Mods
1213
{
1314
public class RushModAutoplay : ModAutoplay<RushHitObject>
1415
{
15-
public override Score CreateReplayScore(IBeatmap beatmap) => new Score
16+
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
1617
{
17-
ScoreInfo = new ScoreInfo
18-
{
19-
User = new User { Username = "Autoplay" },
20-
},
21-
Replay = new RushAutoGenerator(beatmap).Generate(),
18+
ScoreInfo = new ScoreInfo { User = new User { Username = "Autoplay" } },
19+
Replay = new RushAutoGenerator(beatmap).Generate()
2220
};
2321
}
2422
}

osu.Game.Rulesets.Rush/Mods/RushModCinema.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
22
// See the LICENCE file in the repository root for full licence text.
33

4+
using System.Collections.Generic;
45
using osu.Game.Beatmaps;
56
using osu.Game.Rulesets.Mods;
67
using osu.Game.Rulesets.Rush.Objects;
@@ -12,7 +13,7 @@ namespace osu.Game.Rulesets.Rush.Mods
1213
{
1314
public class RushModCinema : ModCinema<RushHitObject>
1415
{
15-
public override Score CreateReplayScore(IBeatmap beatmap) => new Score
16+
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
1617
{
1718
ScoreInfo = new ScoreInfo { User = new User { Username = "Autoplay" } },
1819
Replay = new RushAutoGenerator(beatmap).Generate()

osu.Game.Rulesets.Rush/osu.Game.Rulesets.Rush.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
<EmbeddedResource Include="Resources\**" />
1111
</ItemGroup>
1212
<ItemGroup>
13-
<PackageReference Include="ppy.osu.Game" Version="2021.226.0" />
13+
<PackageReference Include="ppy.osu.Game" Version="2021.302.0" />
1414
</ItemGroup>
1515
</Project>

0 commit comments

Comments
 (0)