mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Always return to main menu before attempting to present a score from import
This commit is contained in:
@ -561,6 +561,8 @@ namespace osu.Game
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This should be able to be performed from song select, but that is disabled for now
|
||||||
|
// due to the weird decoupled ruleset logic (which can cause a crash in certain filter scenarios).
|
||||||
PerformFromScreen(screen =>
|
PerformFromScreen(screen =>
|
||||||
{
|
{
|
||||||
Logger.Log($"{nameof(PresentScore)} updating beatmap ({databasedBeatmap}) and ruleset ({databasedScore.ScoreInfo.Ruleset} to match score)");
|
Logger.Log($"{nameof(PresentScore)} updating beatmap ({databasedBeatmap}) and ruleset ({databasedScore.ScoreInfo.Ruleset} to match score)");
|
||||||
@ -578,7 +580,7 @@ namespace osu.Game
|
|||||||
screen.Push(new SoloResultsScreen(databasedScore.ScoreInfo, false));
|
screen.Push(new SoloResultsScreen(databasedScore.ScoreInfo, false));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}, validScreens: new[] { typeof(PlaySongSelect) });
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Task Import(params ImportTask[] imports)
|
public override Task Import(params ImportTask[] imports)
|
||||||
|
Reference in New Issue
Block a user