mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 21:27:22 +09:00
Exit handling flow
This commit is contained in:
parent
4a54e7cdb8
commit
00d3baef11
@ -102,6 +102,11 @@ namespace osu.Game.Screens.Play
|
|||||||
/// <returns>Whether gameplay should be immediately exited as a result. Returning false allows the gameplay session to continue. Defaults to true.</returns>
|
/// <returns>Whether gameplay should be immediately exited as a result. Returning false allows the gameplay session to continue. Defaults to true.</returns>
|
||||||
protected virtual bool HandleTokenRetrievalFailure(Exception exception) => true;
|
protected virtual bool HandleTokenRetrievalFailure(Exception exception) => true;
|
||||||
|
|
||||||
|
public override bool OnExiting(IScreen next)
|
||||||
|
{
|
||||||
|
return base.OnExiting(next);
|
||||||
|
}
|
||||||
|
|
||||||
protected override async Task PrepareScoreForResultsAsync(Score score)
|
protected override async Task PrepareScoreForResultsAsync(Score score)
|
||||||
{
|
{
|
||||||
await base.PrepareScoreForResultsAsync(score).ConfigureAwait(false);
|
await base.PrepareScoreForResultsAsync(score).ConfigureAwait(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user