mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 14:53:21 +08:00
Remove replay condition
This commit is contained in:
parent
6db9e26d48
commit
8c9390dc75
@ -44,7 +44,7 @@ namespace osu.Game.Screens.Play
|
|||||||
// Token request construction should happen post-load to allow derived classes to potentially prepare DI backings that are used to create the request.
|
// Token request construction should happen post-load to allow derived classes to potentially prepare DI backings that are used to create the request.
|
||||||
var tcs = new TaskCompletionSource<bool>();
|
var tcs = new TaskCompletionSource<bool>();
|
||||||
|
|
||||||
if (DrawableRuleset.HasReplayLoaded.Value || Mods.Value.Any(m => m is ModAutoplay))
|
if (Mods.Value.Any(m => m is ModAutoplay))
|
||||||
{
|
{
|
||||||
handleTokenFailure(new InvalidOperationException("Replay loaded."));
|
handleTokenFailure(new InvalidOperationException("Replay loaded."));
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user