1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Set zero-difficulty values local to the dummy beatmap

This commit is contained in:
Dean Herbert 2017-07-19 18:32:11 +09:00
parent 8764d88f0f
commit d7dddec328
2 changed files with 10 additions and 2 deletions

View File

@ -29,7 +29,15 @@ namespace osu.Game.Beatmaps
Author = "no one",
},
BeatmapSet = new BeatmapSetInfo(),
Difficulty = new BeatmapDifficulty(),
Difficulty = new BeatmapDifficulty
{
DrainRate = 0,
CircleSize = 0,
OverallDifficulty = 0,
ApproachRate = 0,
SliderMultiplier = 0,
SliderTickRate = 0,
},
Ruleset = new DummyRulesetInfo()
})
{

View File

@ -10,7 +10,7 @@ namespace osu.Game.Database
/// <summary>
/// The default value used for all difficulty settings except <see cref="SliderMultiplier"/> and <see cref="SliderTickRate"/>.
/// </summary>
public const float DEFAULT_DIFFICULTY = 0;
public const float DEFAULT_DIFFICULTY = 5;
[PrimaryKey, AutoIncrement]
public int ID { get; set; }