1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Fix ruleset + beatmap being changeable in match

This commit is contained in:
smoogipoo 2019-01-25 21:02:23 +09:00
parent b3403c78da
commit 60cc2314ef
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,8 @@ namespace osu.Game.Screens.Multi.Match
{
public class MatchSubScreen : MultiplayerSubScreen
{
public bool AllowBeatmapRulesetChange => false;
public override bool AllowBeatmapRulesetChange => false;
public override string Title => room.RoomID.Value == null ? "New room" : room.Name.Value;
public override string ShortTitle => "room";

View File

@ -14,7 +14,7 @@ namespace osu.Game.Screens.Multi
{
public abstract class MultiplayerSubScreen : CompositeDrawable, IMultiplayerSubScreen, IKeyBindingHandler<GlobalAction>
{
public bool AllowBeatmapRulesetChange => true;
public virtual bool AllowBeatmapRulesetChange => true;
public bool AllowExternalScreenChange => true;
public bool CursorVisible => true;