Code cleanup.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Cryville.Crtr.Event {
|
||||
else if (ev.Unstamped == null) { }
|
||||
else if (ev.Unstamped is Chart.Sound) {
|
||||
Chart.Sound tev = (Chart.Sound)ev.Unstamped;
|
||||
var dir = new DirectoryInfo(Game.GameDataPath + "/songs/" + tev.id);
|
||||
var dir = new DirectoryInfo(Path.Combine(Game.GameDataPath, "songs", tev.id));
|
||||
var files = dir.GetFiles();
|
||||
var source = new LibavFileAudioSource(files[0].FullName);
|
||||
source.SelectStream();
|
||||
|
Reference in New Issue
Block a user