Fix Autoplay = false and AllowFail behavior

This commit is contained in:
voidedWarranties
2020-03-03 17:12:01 -08:00
parent 7a71a48892
commit c3f840cc1a
3 changed files with 13 additions and 8 deletions

View File

@ -68,6 +68,8 @@ namespace osu.Game.Tests.Visual
Beatmap.Value = CreateWorkingBeatmap(beatmap);
SelectedMods.Value = Array.Empty<Mod>();
if (!AllowFail)
{
var noFailMod = ruleset.GetAllMods().FirstOrDefault(m => m is ModNoFail);