mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Don't play music if no playlist is set
This commit is contained in:
parent
f64bc3c7ef
commit
dfc2f3469a
@ -837,7 +837,7 @@ namespace MWSound
|
|||||||
timePassed = 0.0f;
|
timePassed = 0.0f;
|
||||||
|
|
||||||
// Make sure music is still playing
|
// Make sure music is still playing
|
||||||
if(!isMusicPlaying())
|
if(!isMusicPlaying() && !mCurrentPlaylist.empty())
|
||||||
startRandomTitle();
|
startRandomTitle();
|
||||||
|
|
||||||
Environment env = Env_Normal;
|
Environment env = Env_Normal;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user