mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:53:51 +08:00
Disallow skipping in multiplayer for now
This commit is contained in:
parent
61a5d3ef4a
commit
6bd6888a93
@ -51,6 +51,7 @@ namespace osu.Game.Screens.Multi.RealtimeMultiplayer
|
||||
{
|
||||
AllowPause = false,
|
||||
AllowRestart = false,
|
||||
AllowSkippingIntro = false,
|
||||
})
|
||||
{
|
||||
this.userIds = userIds;
|
||||
|
@ -381,6 +381,9 @@ namespace osu.Game.Screens.Play
|
||||
}
|
||||
};
|
||||
|
||||
if (!Configuration.AllowSkippingIntro)
|
||||
skipOverlay.Expire();
|
||||
|
||||
if (Configuration.AllowRestart)
|
||||
{
|
||||
container.Add(new HotkeyRetryOverlay
|
||||
|
@ -19,5 +19,10 @@ namespace osu.Game.Screens.Play
|
||||
/// Whether the player should be allowed to trigger a restart.
|
||||
/// </summary>
|
||||
public bool AllowRestart { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the player should be allowed to skip the intro, advancing to the start of gameplay.
|
||||
/// </summary>
|
||||
public bool AllowSkippingIntro { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user