1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:12:57 +08:00

Remove leasing at a Multiplayer screen level

This commit is contained in:
Dean Herbert 2020-02-06 11:56:20 +09:00
parent 50c4e34c92
commit 304a071e39

View File

@ -32,8 +32,6 @@ namespace osu.Game.Screens.Multi
{ {
public override bool CursorVisible => (screenStack.CurrentScreen as IMultiplayerSubScreen)?.CursorVisible ?? true; public override bool CursorVisible => (screenStack.CurrentScreen as IMultiplayerSubScreen)?.CursorVisible ?? true;
public override bool DisallowExternalBeatmapRulesetChanges => true;
private readonly MultiplayerWaveContainer waves; private readonly MultiplayerWaveContainer waves;
private readonly OsuButton createButton; private readonly OsuButton createButton;
@ -277,11 +275,7 @@ namespace osu.Game.Screens.Multi
private void updateTrack(ValueChangedEvent<WorkingBeatmap> _ = null) private void updateTrack(ValueChangedEvent<WorkingBeatmap> _ = null)
{ {
bool isMatch = screenStack.CurrentScreen is MatchSubScreen; if (screenStack.CurrentScreen is MatchSubScreen)
Beatmap.Disabled = isMatch;
if (isMatch)
{ {
var track = Beatmap.Value?.Track; var track = Beatmap.Value?.Track;