mirror of
https://github.com/ppy/osu
synced 2025-04-01 22:48:33 +00: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)
|
if (LoadedBeatmapSuccessfully && !GameplayState.HasPassed)
|
||||||
{
|
{
|
||||||
|
Debug.Assert(resultsDisplayDelegate == null && prepareScoreForDisplayTask == null);
|
||||||
|
|
||||||
if (!GameplayState.HasFailed)
|
if (!GameplayState.HasFailed)
|
||||||
GameplayState.HasQuit = true;
|
GameplayState.HasQuit = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user