Skip to content

Commit

Permalink
Merge pull request #191 from bdach/update-game
Browse files Browse the repository at this point in the history
Update game packages & fix compilation failures
  • Loading branch information
smoogipoo authored Dec 28, 2023
2 parents 668dfa7 + 23314db commit 7e97004
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public override void Execute()
{
difficultyMods = LegacyHelper.ConvertToLegacyDifficultyAdjustmentMods(workingBeatmap.BeatmapInfo, ruleset, difficultyMods);
score.ScoreInfo.LegacyTotalScore = (int)score.ScoreInfo.TotalScore;
score.ScoreInfo.TotalScore = StandardisedScoreMigrationTools.ConvertFromLegacyTotalScore(
StandardisedScoreMigrationTools.UpdateFromLegacy(
score.ScoreInfo,
LegacyBeatmapConversionDifficultyInfo.FromBeatmap(playableBeatmap),
((ILegacyRuleset)ruleset).CreateLegacyScoreSimulator().Simulate(workingBeatmap, playableBeatmap));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public override void Execute()
score.Mods = score.Mods.Append(ruleset.CreateMod<ModClassic>()).ToArray();
score.IsLegacyScore = true;
score.LegacyTotalScore = (int)score.TotalScore;
score.TotalScore = StandardisedScoreMigrationTools.ConvertFromLegacyTotalScore(
StandardisedScoreMigrationTools.UpdateFromLegacy(
score,
LegacyBeatmapConversionDifficultyInfo.FromAPIBeatmap(apiBeatmap),
((ILegacyRuleset)ruleset).CreateLegacyScoreSimulator().Simulate(workingBeatmap, workingBeatmap.GetPlayableBeatmap(ruleset.RulesetInfo, score.Mods)));
Expand Down
10 changes: 5 additions & 5 deletions PerformanceCalculator/PerformanceCalculator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<ItemGroup>
<PackageReference Include="Alba.CsConsoleFormat" Version="1.0.0" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.0" />
<PackageReference Include="ppy.osu.Game" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2023.1224.0" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions PerformanceCalculatorGUI/PerformanceCalculatorGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2023.1114.0" />
<PackageReference Include="ppy.osu.Game" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Osu" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Taiko" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Catch" Version="2023.1224.0" />
<PackageReference Include="ppy.osu.Game.Rulesets.Mania" Version="2023.1224.0" />
</ItemGroup>
</Project>

0 comments on commit 7e97004

Please sign in to comment.