mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Add preventive assertions concerning submission flow state
This commit is contained in:
parent
2d5b1711f6
commit
dc7f5cd6ed
@ -1112,6 +1112,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
if (LoadedBeatmapSuccessfully && !GameplayState.HasPassed)
|
||||
{
|
||||
Debug.Assert(resultsDisplayDelegate == null && prepareScoreForDisplayTask == null);
|
||||
|
||||
if (!GameplayState.HasFailed)
|
||||
GameplayState.HasQuit = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user