1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +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:
Bartłomiej Dach 2023-10-27 14:39:58 +02:00
parent dc7f5cd6ed
commit 35f30d6135
No known key found for this signature in database

View File

@ -1112,7 +1112,7 @@ namespace osu.Game.Screens.Play
if (LoadedBeatmapSuccessfully && !GameplayState.HasPassed)
{
Debug.Assert(resultsDisplayDelegate == null && prepareScoreForDisplayTask == null);
Debug.Assert(resultsDisplayDelegate == null);
if (!GameplayState.HasFailed)
GameplayState.HasQuit = true;