mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Merge branch 'master' into spectator-consistency-frames
This commit is contained in:
@ -45,6 +45,11 @@ namespace osu.Game.Screens.Play
|
||||
/// </summary>
|
||||
public const double RESULTS_DISPLAY_DELAY = 1000.0;
|
||||
|
||||
/// <summary>
|
||||
/// Raised after <see cref="StartGameplay"/> is called.
|
||||
/// </summary>
|
||||
public event Action OnGameplayStarted;
|
||||
|
||||
public override bool AllowBackButton => false; // handled by HoldForMenuButton
|
||||
|
||||
protected override UserActivity InitialActivity => new UserActivity.InSoloGame(Beatmap.Value.BeatmapInfo, Ruleset.Value);
|
||||
@ -959,7 +964,9 @@ namespace osu.Game.Screens.Play
|
||||
updateGameplayState();
|
||||
|
||||
GameplayClockContainer.FadeInFromZero(750, Easing.OutQuint);
|
||||
|
||||
StartGameplay();
|
||||
OnGameplayStarted?.Invoke();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user