X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=fs.c;h=a925ff3164743ff6ec191f04111fc17adfa7c436;hp=182d05f3ef55eb04d624e15d72a43ea457095232;hb=775c0f6d056c37d2e23f9a96ec827023fe5e3404;hpb=f603e392a4dc9b7da2732bc3c14585d54de99b7e diff --git a/fs.c b/fs.c index 182d05f3..a925ff31 100644 --- a/fs.c +++ b/fs.c @@ -1574,15 +1574,15 @@ qbool FS_ChangeGameDirs(int numgamedirs, char gamedirs[][MAX_QPATH], qbool compl if (cls.demoplayback) { - CL_Disconnect_f(cmd_client); + CL_Disconnect_f(cmd_local); cls.demonum = 0; } // unload all sounds so they will be reloaded from the new files as needed - S_UnloadAllSounds_f(cmd_client); + S_UnloadAllSounds_f(cmd_local); // restart the video subsystem after the config is executed - Cbuf_InsertText(cmd_client, "\nloadconfig\nvid_restart\n\n"); + Cbuf_InsertText(cmd_local, "\nloadconfig\nvid_restart\n\n"); return true; }