From: Rudolf Polzer Date: Mon, 27 Feb 2012 08:51:54 +0000 (+0100) Subject: target_music: turn off playlists while active X-Git-Tag: xonotic-v0.6.0~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a17994fe07f3885353ed21c0c7a92b798a940f1;p=xonotic%2Fxonotic-data.pk3dir.git target_music: turn off playlists while active --- diff --git a/qcsrc/client/target_music.qc b/qcsrc/client/target_music.qc index c4573296a..77cb2536e 100644 --- a/qcsrc/client/target_music.qc +++ b/qcsrc/client/target_music.qc @@ -106,6 +106,7 @@ void Net_TargetMusic() if(!music_disabled) { e.state = 2; + cvar_settemp("music_playlist_index", "-1"); // don't use playlists localcmd("cd stop\n"); // just in case music_disabled = 1; }