some fixes.
This commit is contained in:
1 parent
f926263706
commit
b30efb1913
2 files changed
+2
-2
No files matched your search
@@ -111,7 +111,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
{
|
||||
if (value == base._PreviewNr)
|
||||
{
|
||||
if (!CBase.BackgroundMusic.IsPlaying())
|
||||
if (!CBase.BackgroundMusic.IsPlaying() && value != -1)
|
||||
CBase.BackgroundMusic.PlayPreview();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace VocaluxeLib.Utils.Player
|
||||
|
||||
public void Play()
|
||||
{
|
||||
if (_StreamID == -1)
|
||||
if (_StreamID == -1 || IsPlaying)
|
||||
return;
|
||||
|
||||
CBase.Sound.SetPosition(_StreamID, _StartPosition);
|
||||
|
||||
Reference in new issue
Block a user