mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Refactor exposed mod retrieval methods for better safety
This commit is contained in:
@ -67,7 +67,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
if (!AllowFail)
|
||||
{
|
||||
var noFailMod = ruleset.GetMod<ModNoFail>();
|
||||
var noFailMod = ruleset.CreateMod<ModNoFail>();
|
||||
if (noFailMod != null)
|
||||
SelectedMods.Value = new[] { noFailMod };
|
||||
}
|
||||
|
Reference in New Issue
Block a user