1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:42:54 +08:00

Rename const and fix unintended tabbing.

This commit is contained in:
Lucas A 2021-01-26 18:26:01 +01:00
parent 9f9206726a
commit 043385f919
2 changed files with 3 additions and 3 deletions

View File

@ -646,7 +646,7 @@ namespace osu.Game.Database
/// Select paths to import from stable. Default implementation iterates all directories in <see cref="ImportFromStablePath"/>.
/// </summary>
protected virtual IEnumerable<string> GetStableImportPaths(StableStorage stableStorage) => stableStorage.GetDirectories(ImportFromStablePath)
.Select(path => stableStorage.GetFullPath(path));
.Select(path => stableStorage.GetFullPath(path));
/// <summary>
/// Whether this specified path should be removed after successful import.

View File

@ -14,7 +14,7 @@ namespace osu.Game.IO
/// </summary>
public class StableStorage : DesktopStorage
{
private const string stable_songs_path = "Songs";
private const string stable_default_songs_path = "Songs";
private readonly DesktopGameHost host;
private readonly string songsPath;
@ -36,7 +36,7 @@ namespace osu.Game.IO
var configFile = GetStream(GetFiles(".", "osu!.*.cfg").First());
var textReader = new StreamReader(configFile);
var songsDirectoryPath = Path.Combine(BasePath, stable_songs_path);
var songsDirectoryPath = Path.Combine(BasePath, stable_default_songs_path);
while (!textReader.EndOfStream)
{