diff --git a/Difficalcy.Catch/Services/CatchCalculatorService.cs b/Difficalcy.Catch/Services/CatchCalculatorService.cs index 646a593..11c4b25 100644 --- a/Difficalcy.Catch/Services/CatchCalculatorService.cs +++ b/Difficalcy.Catch/Services/CatchCalculatorService.cs @@ -91,7 +91,7 @@ protected override CatchPerformance CalculatePerformance(CatchScore score, objec var statistics = determineHitResults(score.Accuracy ?? 1, hitResultCount, beatmap, score.Misses ?? 0, score.TinyDroplets, score.Droplets); var accuracy = score.Accuracy ?? calculateAccuracy(statistics); - var scoreInfo = new ScoreInfo() + var scoreInfo = new ScoreInfo(beatmap.BeatmapInfo, CatchRuleset.RulesetInfo) { Accuracy = accuracy, MaxCombo = combo, diff --git a/Difficalcy.Mania/Services/ManiaCalculatorService.cs b/Difficalcy.Mania/Services/ManiaCalculatorService.cs index 60b7b99..f5a9b75 100644 --- a/Difficalcy.Mania/Services/ManiaCalculatorService.cs +++ b/Difficalcy.Mania/Services/ManiaCalculatorService.cs @@ -97,7 +97,7 @@ protected override ManiaPerformance CalculatePerformance(ManiaScore score, objec }; var totalScore = score.TotalScore ?? determineScore(mods); - var scoreInfo = new ScoreInfo() + var scoreInfo = new ScoreInfo(beatmap.BeatmapInfo, ManiaRuleset.RulesetInfo) { Accuracy = 0, MaxCombo = 0, diff --git a/Difficalcy.Osu/Services/OsuCalculatorService.cs b/Difficalcy.Osu/Services/OsuCalculatorService.cs index d094cc2..41349f0 100644 --- a/Difficalcy.Osu/Services/OsuCalculatorService.cs +++ b/Difficalcy.Osu/Services/OsuCalculatorService.cs @@ -102,7 +102,7 @@ protected override OsuPerformance CalculatePerformance(OsuScore score, object di var statistics = determineHitResults(score.Accuracy ?? 1, beatmap.HitObjects.Count, score.Misses ?? 0, score.Mehs, score.Oks); var accuracy = score.Accuracy ?? calculateAccuracy(statistics); - var scoreInfo = new ScoreInfo() + var scoreInfo = new ScoreInfo(beatmap.BeatmapInfo, OsuRuleset.RulesetInfo) { Accuracy = accuracy, MaxCombo = combo, diff --git a/Difficalcy.Taiko/Services/TaikoCalculatorService.cs b/Difficalcy.Taiko/Services/TaikoCalculatorService.cs index 95d6475..d89409d 100644 --- a/Difficalcy.Taiko/Services/TaikoCalculatorService.cs +++ b/Difficalcy.Taiko/Services/TaikoCalculatorService.cs @@ -97,7 +97,7 @@ protected override TaikoPerformance CalculatePerformance(TaikoScore score, objec var statistics = determineHitResults(score.Accuracy ?? 1, hitResultCount, score.Misses ?? 0, score.Oks); var accuracy = score.Accuracy ?? calculateAccuracy(statistics); - var scoreInfo = new ScoreInfo() + var scoreInfo = new ScoreInfo(beatmap.BeatmapInfo, TaikoRuleset.RulesetInfo) { Accuracy = accuracy, MaxCombo = combo,