mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Disallow local user mod customisation
This commit is contained in:
@ -216,7 +216,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
Origin = Anchor.BottomLeft,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Height = 0.5f,
|
||||
Child = userModsSelectOverlay = new SoloModSelectOverlay
|
||||
Child = userModsSelectOverlay = new UserModSelectOverlay
|
||||
{
|
||||
SelectedMods = { BindTarget = UserMods },
|
||||
IsValidMod = _ => false
|
||||
@ -358,5 +358,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
if (client != null)
|
||||
client.LoadRequested -= onLoadRequested;
|
||||
}
|
||||
|
||||
private class UserModSelectOverlay : ModSelectOverlay
|
||||
{
|
||||
protected override bool AllowCustomisation => false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user