mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:05:35 +08:00
Scale back debug assertion
The import preparation task can actually be non-null when exiting even if the player hasn't passed: - fail beatmap - click import button to import the failed replay
This commit is contained in:
parent
dc7f5cd6ed
commit
35f30d6135
@ -1112,7 +1112,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
if (LoadedBeatmapSuccessfully && !GameplayState.HasPassed)
|
if (LoadedBeatmapSuccessfully && !GameplayState.HasPassed)
|
||||||
{
|
{
|
||||||
Debug.Assert(resultsDisplayDelegate == null && prepareScoreForDisplayTask == null);
|
Debug.Assert(resultsDisplayDelegate == null);
|
||||||
|
|
||||||
if (!GameplayState.HasFailed)
|
if (!GameplayState.HasFailed)
|
||||||
GameplayState.HasQuit = true;
|
GameplayState.HasQuit = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user