CanChangeBeatmap -> CanBeatmapChange

This commit is contained in:
MrTheMake
2017-06-19 16:45:21 +02:00
parent 8bee06943b
commit 15a1dd14a6
4 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Music
public IEnumerable<BeatmapSetInfo> BeatmapSets;
private InputManager inputManager;
private bool canChangeBeatmap => currentScreenBacking.Value?.CanChangeBeatmap != false;
private bool canBeatmapChange => currentScreenBacking.Value?.CanBeatmapChange != false;
[BackgroundDependencyLoader]
private void load(OsuGameBase game, BeatmapDatabase beatmaps, OsuColour colours, UserInputManager inputManager)
@ -158,7 +158,7 @@ namespace osu.Game.Overlays.Music
private void playSpecified(BeatmapInfo info)
{
if (!canChangeBeatmap)
if (!canBeatmapChange)
return;
beatmapBacking.Value = beatmaps.GetWorkingBeatmap(info, beatmapBacking);