General improvements

This commit is contained in:
Alex Amadori
2017-03-13 11:29:24 +01:00
parent 971d8eb7c5
commit caa6e9c82b
7 changed files with 10 additions and 7 deletions

View File

@ -17,6 +17,7 @@ using osu.Game.Modes.Catch;
using osu.Game.Modes.Mania;
using osu.Game.Modes.Osu;
using osu.Game.Modes.Taiko;
using osu.Game.Beatmaps.IO;
namespace osu.Game.Tests.Beatmaps.IO
{
@ -106,7 +107,7 @@ namespace osu.Game.Tests.Beatmaps.IO
private string prepareTempCopy(string path)
{
var temp = Path.GetTempPath()+Guid.NewGuid()+".osz";
var temp = Path.GetTempPath() + Guid.NewGuid() + BeatmapArchiveReader.OszExtension;
return new FileInfo(path).CopyTo(temp, true).FullName;
}