1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +08:00

Remove unused argument

This commit is contained in:
Bartłomiej Dach 2020-06-13 15:07:21 +02:00
parent 1cd96b8002
commit 586d5791e0
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Game.Tournament.Screens; using osu.Game.Tournament.Screens;
using osu.Framework.Platform;
namespace osu.Game.Tournament.Tests.Screens namespace osu.Game.Tournament.Tests.Screens
{ {
@ -15,7 +14,7 @@ namespace osu.Game.Tournament.Tests.Screens
private class StablePathSelectTestScreen : StablePathSelectScreen private class StablePathSelectTestScreen : StablePathSelectScreen
{ {
protected override void ChangePath(Storage storage) protected override void ChangePath()
{ {
Expire(); Expire();
} }

View File

@ -108,7 +108,7 @@ namespace osu.Game.Tournament.Screens
Origin = Anchor.Centre, Origin = Anchor.Centre,
Width = 300, Width = 300,
Text = "Select stable path", Text = "Select stable path",
Action = () => ChangePath(storage) Action = ChangePath
}, },
new TriangleButton new TriangleButton
{ {
@ -135,7 +135,7 @@ namespace osu.Game.Tournament.Screens
}); });
} }
protected virtual void ChangePath(Storage storage) protected virtual void ChangePath()
{ {
var target = directorySelector.CurrentDirectory.Value.FullName; var target = directorySelector.CurrentDirectory.Value.FullName;
var fileBasedIpc = ipc as FileBasedIPC; var fileBasedIpc = ipc as FileBasedIPC;