diff --git a/code/fgame/g_utils.cpp b/code/fgame/g_utils.cpp index 57eaf3c9..1a3ae238 100644 --- a/code/fgame/g_utils.cpp +++ b/code/fgame/g_utils.cpp @@ -1528,7 +1528,12 @@ void ChangeSoundtrack(const char *soundtrack) level.saved_soundtrack = level.current_soundtrack; level.current_soundtrack = soundtrack; + // Force the soundtrack to be sent again by setting it to empty first + // so it gets sent to clients again especially when loading + // from a saved game + gi.setConfigstring(CS_MUSIC, ""); gi.setConfigstring(CS_MUSIC, soundtrack); + gi.DPrintf("soundtrack switched to %s.\n", soundtrack); }