Testing build

This commit is contained in:
DrabWeb
2017-02-28 17:09:31 -04:00
parent ce1798b8bc
commit d5d8352b62
2 changed files with 10 additions and 10 deletions

View File

@ -59,8 +59,8 @@ namespace osu.Game.Screens.Select
FilterControl filter;
[BackgroundDependencyLoader(permitNulls: true)]
private void load(BeatmapDatabase beatmaps, AudioManager audio, Framework.Game game,
OsuGame osuGame, DialogOverlay dialog, OsuColour colours)
private void load(BeatmapDatabase beatmaps, AudioManager audio, /*DialogOverlay dialog,*/ Framework.Game game,
OsuGame osuGame, OsuColour colours)
{
const float carousel_width = 640;
const float filter_height = 100;
@ -144,7 +144,7 @@ namespace osu.Game.Screens.Select
database.BeatmapSetRemoved += onBeatmapSetRemoved;
trackManager = audio.Track;
dialogOverlay = dialog;
//dialogOverlay = dialog;
sampleChangeDifficulty = audio.Sample.Get(@"SongSelect/select-difficulty");
sampleChangeBeatmap = audio.Sample.Get(@"SongSelect/select-expand");
@ -388,7 +388,7 @@ namespace osu.Game.Screens.Select
if (state.Keyboard.ShiftPressed)
{
if (Beatmap != null)
dialogOverlay.Push(new BeatmapDeleteDialog(Beatmap));
dialogOverlay?.Push(new BeatmapDeleteDialog(Beatmap));
return true;
}