Small fix
This commit is contained in:
1 parent
67e0d72424
commit
f706a35d30
1 file changed
+3
-1
@@ -28,8 +28,10 @@ namespace Vocaluxe.Base
|
|||||||
foreach (string file in files)
|
foreach (string file in files)
|
||||||
{
|
{
|
||||||
_BackgroundMusicStreams.Add(CSound.Load(file));
|
_BackgroundMusicStreams.Add(CSound.Load(file));
|
||||||
_CurrentMusicStream = _BackgroundMusicStreams[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(_BackgroundMusicStreams.Count > 0)
|
||||||
|
_CurrentMusicStream = _BackgroundMusicStreams[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Play()
|
public static void Play()
|
||||||
|
|||||||
Reference in new issue
Block a user