Update existing function type rather than adding an override

This commit is contained in:
Dean Herbert
2021-06-02 16:04:53 +09:00
parent 7c6400735f
commit f8ae70e562
34 changed files with 117 additions and 129 deletions

View File

@ -97,7 +97,7 @@ namespace osu.Game.Rulesets.Osu.Tests
private void loadContent(bool automated = true, Func<SkinProvidingContainer> skinProvider = null)
{
SetContents(() =>
SetContents(_ =>
{
var inputManager = automated ? (InputManager)new MovingCursorInputManager() : new OsuInputManager(new OsuRuleset().RulesetInfo);
var skinContainer = skinProvider?.Invoke() ?? new SkinProvidingContainer(null);