1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 20:47:22 +08:00

Actually delete files

This commit is contained in:
Dean Herbert 2017-08-01 10:20:28 +09:00
parent c73e139954
commit 821f65c381

View File

@ -41,7 +41,7 @@ namespace osu.Game.IO
try try
{ {
foreach (var f in Query<FileInfo>()) foreach (var f in Query<FileInfo>())
Storage.Delete(Path.Combine(prefix, f.Hash)); Storage.Delete(Path.Combine(prefix, f.StoragePath));
} }
catch catch
{ {
@ -150,7 +150,7 @@ namespace osu.Game.IO
try try
{ {
Connection.Delete(f); Connection.Delete(f);
Storage.Delete(Path.Combine(prefix, f.Hash)); Storage.Delete(Path.Combine(prefix, f.StoragePath));
} }
catch (Exception e) catch (Exception e)
{ {