mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Initial EF Core commit
This commit is contained in:
@ -29,20 +29,20 @@ namespace osu.Game.Screens.Select.Details
|
||||
beatmap = value;
|
||||
|
||||
//mania specific
|
||||
if ((Beatmap?.Ruleset?.ID ?? 0) == 3)
|
||||
if ((Beatmap?.RulesetInfo?.Id ?? 0) == 3)
|
||||
{
|
||||
firstValue.Title = "Key Amount";
|
||||
firstValue.Value = (int)Math.Round(Beatmap?.Difficulty?.CircleSize ?? 0);
|
||||
firstValue.Value = (int)Math.Round(Beatmap?.BeatmapDifficulty?.CircleSize ?? 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
firstValue.Title = "Circle Size";
|
||||
firstValue.Value = Beatmap?.Difficulty?.CircleSize ?? 0;
|
||||
firstValue.Value = Beatmap?.BeatmapDifficulty?.CircleSize ?? 0;
|
||||
}
|
||||
|
||||
hpDrain.Value = beatmap.Difficulty?.DrainRate ?? 0;
|
||||
accuracy.Value = beatmap.Difficulty?.OverallDifficulty ?? 0;
|
||||
approachRate.Value = beatmap.Difficulty?.ApproachRate ?? 0;
|
||||
hpDrain.Value = beatmap.BeatmapDifficulty?.DrainRate ?? 0;
|
||||
accuracy.Value = beatmap.BeatmapDifficulty?.OverallDifficulty ?? 0;
|
||||
approachRate.Value = beatmap.BeatmapDifficulty?.ApproachRate ?? 0;
|
||||
starDifficulty.Value = (float)beatmap.StarDifficulty;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user