1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 02:25:29 +08:00

make tournament migration private

This commit is contained in:
Shivam
2020-06-22 12:59:56 +02:00
Unverified
parent a94dcc4923
commit e0d5a9182e
+2 -2
View File
@@ -30,7 +30,7 @@ namespace osu.Game.Tournament.IO
}
else
{
Migrate();
migrate();
storageConfig.Set(StorageConfig.CurrentTournament, default_tournament);
storageConfig.Save();
ChangeTargetStorage(UnderlyingStorage.GetStorageForDirectory(default_tournament));
@@ -40,7 +40,7 @@ namespace osu.Game.Tournament.IO
Logger.Log("Using tournament storage: " + GetFullPath(string.Empty));
}
internal void Migrate()
private void migrate()
{
var source = new DirectoryInfo(storage.GetFullPath("tournament"));
var destination = new DirectoryInfo(GetFullPath(default_tournament));