fixed crash in bg music if there are no songs
This commit is contained in:
1 parent
4058d16fc6
commit
ef12559b28
1 file changed
+1
-1
@@ -294,7 +294,7 @@ namespace Vocaluxe.Base
|
||||
|
||||
public static void Previous()
|
||||
{
|
||||
if (_PreviousFileNames.Count > 0 || _PreviousMusicIndex >= 0)
|
||||
if (_PreviousFileNames.Count > 0 && _PreviousMusicIndex >= 0)
|
||||
{
|
||||
float pos = CSound.GetPosition(_CurrentMusicStream);
|
||||
if (CSound.GetPosition(_CurrentMusicStream) >= 1.5f)
|
||||
|
||||
Reference in new issue
Block a user