fix songs with dashes for compatablitly

This commit is contained in:
Kade M
2021-06-05 11:48:24 -07:00
parent 9fabd2408f
commit 6d70f4de3a
14 changed files with 6 additions and 1 deletions

View File

@ -97,11 +97,15 @@ class Paths
inline static public function voices(song:String)
{
var r = ~/\s+/g;
r.replace(song,'-');
return 'songs:assets/songs/${song.toLowerCase()}/Voices.$SOUND_EXT';
}
inline static public function inst(song:String)
{
var r = ~/\s+/g;
r.replace(song,'-');
return 'songs:assets/songs/${song.toLowerCase()}/Inst.$SOUND_EXT';
}