mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Revert "Remove leasing at a Multiplayer screen level"
This reverts commit 304a071e39
.
This commit is contained in:
parent
d00b61de99
commit
114fd967c1
@ -32,6 +32,8 @@ namespace osu.Game.Screens.Multi
|
||||
{
|
||||
public override bool CursorVisible => (screenStack.CurrentScreen as IMultiplayerSubScreen)?.CursorVisible ?? true;
|
||||
|
||||
public override bool DisallowExternalBeatmapRulesetChanges => true;
|
||||
|
||||
private readonly MultiplayerWaveContainer waves;
|
||||
|
||||
private readonly OsuButton createButton;
|
||||
@ -275,7 +277,11 @@ namespace osu.Game.Screens.Multi
|
||||
|
||||
private void updateTrack(ValueChangedEvent<WorkingBeatmap> _ = null)
|
||||
{
|
||||
if (screenStack.CurrentScreen is MatchSubScreen)
|
||||
bool isMatch = screenStack.CurrentScreen is MatchSubScreen;
|
||||
|
||||
Beatmap.Disabled = isMatch;
|
||||
|
||||
if (isMatch)
|
||||
{
|
||||
var track = Beatmap.Value?.Track;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user