File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
2
2
// See the LICENCE file in the repository root for full licence text.
3
3
4
+ using System . Collections . Generic ;
4
5
using osu . Game . Beatmaps ;
5
6
using osu . Game . Rulesets . Mods ;
6
7
using osu . Game . Rulesets . Rush . Objects ;
@@ -12,13 +13,10 @@ namespace osu.Game.Rulesets.Rush.Mods
12
13
{
13
14
public class RushModAutoplay : ModAutoplay < RushHitObject >
14
15
{
15
- public override Score CreateReplayScore ( IBeatmap beatmap ) => new Score
16
+ public override Score CreateReplayScore ( IBeatmap beatmap , IReadOnlyList < Mod > mods ) => new Score
16
17
{
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 ( )
22
20
} ;
23
21
}
24
22
}
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
2
2
// See the LICENCE file in the repository root for full licence text.
3
3
4
+ using System . Collections . Generic ;
4
5
using osu . Game . Beatmaps ;
5
6
using osu . Game . Rulesets . Mods ;
6
7
using osu . Game . Rulesets . Rush . Objects ;
@@ -12,7 +13,7 @@ namespace osu.Game.Rulesets.Rush.Mods
12
13
{
13
14
public class RushModCinema : ModCinema < RushHitObject >
14
15
{
15
- public override Score CreateReplayScore ( IBeatmap beatmap ) => new Score
16
+ public override Score CreateReplayScore ( IBeatmap beatmap , IReadOnlyList < Mod > mods ) => new Score
16
17
{
17
18
ScoreInfo = new ScoreInfo { User = new User { Username = "Autoplay" } } ,
18
19
Replay = new RushAutoGenerator ( beatmap ) . Generate ( )
Original file line number Diff line number Diff line change 10
10
<EmbeddedResource Include =" Resources\**" />
11
11
</ItemGroup >
12
12
<ItemGroup >
13
- <PackageReference Include =" ppy.osu.Game" Version =" 2021.226 .0" />
13
+ <PackageReference Include =" ppy.osu.Game" Version =" 2021.302 .0" />
14
14
</ItemGroup >
15
15
</Project >
You can’t perform that action at this time.
0 commit comments