From d7dddec3281bc053ba2406e5a19f0556664eb1ed Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 19 Jul 2017 18:32:11 +0900 Subject: [PATCH] Set zero-difficulty values local to the dummy beatmap --- osu.Game/Beatmaps/DummyWorkingBeatmap.cs | 10 +++++++++- osu.Game/Database/BeatmapDifficulty.cs | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/osu.Game/Beatmaps/DummyWorkingBeatmap.cs b/osu.Game/Beatmaps/DummyWorkingBeatmap.cs index 3a66fdad5c..970a3dbd35 100644 --- a/osu.Game/Beatmaps/DummyWorkingBeatmap.cs +++ b/osu.Game/Beatmaps/DummyWorkingBeatmap.cs @@ -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() }) { diff --git a/osu.Game/Database/BeatmapDifficulty.cs b/osu.Game/Database/BeatmapDifficulty.cs index bc2ba0b981..87c651aa88 100644 --- a/osu.Game/Database/BeatmapDifficulty.cs +++ b/osu.Game/Database/BeatmapDifficulty.cs @@ -10,7 +10,7 @@ namespace osu.Game.Database /// /// The default value used for all difficulty settings except and . /// - public const float DEFAULT_DIFFICULTY = 0; + public const float DEFAULT_DIFFICULTY = 5; [PrimaryKey, AutoIncrement] public int ID { get; set; }