mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Update ModAutoplay
matching to use new UserPlayable
flag instead
This commit is contained in:
@ -44,9 +44,9 @@ 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.
|
||||
var tcs = new TaskCompletionSource<bool>();
|
||||
|
||||
if (Mods.Value.Any(m => m is ModAutoplay))
|
||||
if (Mods.Value.Any(m => !m.UserPlayable))
|
||||
{
|
||||
handleTokenFailure(new InvalidOperationException("Autoplay loaded."));
|
||||
handleTokenFailure(new InvalidOperationException("Non-user playable mod selected."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user