Fixed test case

This commit is contained in:
MrTheMake
2017-06-19 14:52:36 +02:00
parent 5450499415
commit 13df0e0b04
3 changed files with 5 additions and 4 deletions

View File

@ -88,7 +88,7 @@ namespace osu.Game.Overlays
}
[BackgroundDependencyLoader]
private void load(OsuGame game, OsuColour colours, LocalisationEngine localisation)
private void load(OsuGameBase game, OsuColour colours, LocalisationEngine localisation)
{
this.localisation = localisation;
@ -222,7 +222,7 @@ namespace osu.Game.Overlays
private void screenChanged(OsuScreen newScreen)
{
canChangeBeatmap = newScreen?.CanChangeBeatmap ?? false;
canChangeBeatmap = newScreen?.CanChangeBeatmap ?? true;
prevButton.Enabled = canChangeBeatmap;
playButton.Enabled = canChangeBeatmap;