CI fixes.

This commit is contained in:
DrabWeb
2017-09-07 15:38:23 -03:00
parent 109531b66c
commit 55e8bdfb05
3 changed files with 5 additions and 6 deletions

View File

@ -32,12 +32,12 @@ namespace osu.Game.Screens.Select.Details
if ((Beatmap?.Ruleset?.ID ?? 0) == 3)
{
firstValue.Title = "Key Amount";
firstValue.Value = (int)Math.Round(Beatmap.Difficulty.CircleSize);
firstValue.Value = (int)Math.Round(Beatmap?.Difficulty?.CircleSize ?? 0);
}
else
{
firstValue.Title = "Circle Size";
firstValue.Value = Beatmap.Difficulty.CircleSize;
firstValue.Value = Beatmap?.Difficulty?.CircleSize ?? 0;
}
hpDrain.Value = beatmap.Difficulty.DrainRate;
@ -118,7 +118,7 @@ namespace osu.Game.Screens.Select.Details
{
Width = name_width,
AutoSizeAxes = Axes.Y,
Child = this.name = new OsuSpriteText
Child = name = new OsuSpriteText
{
TextSize = 13,
},