1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 11:12:54 +08:00

Disallow skipping in multiplayer for now

This commit is contained in:
Dean Herbert 2020-12-24 16:29:51 +09:00
parent 61a5d3ef4a
commit 6bd6888a93
3 changed files with 9 additions and 0 deletions

View File

@ -51,6 +51,7 @@ namespace osu.Game.Screens.Multi.RealtimeMultiplayer
{
AllowPause = false,
AllowRestart = false,
AllowSkippingIntro = false,
})
{
this.userIds = userIds;

View File

@ -381,6 +381,9 @@ namespace osu.Game.Screens.Play
}
};
if (!Configuration.AllowSkippingIntro)
skipOverlay.Expire();
if (Configuration.AllowRestart)
{
container.Add(new HotkeyRetryOverlay

View File

@ -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;
}
}