diff --git a/code/client/cl_main.cpp b/code/client/cl_main.cpp index dadce45..3a32439 100644 --- a/code/client/cl_main.cpp +++ b/code/client/cl_main.cpp @@ -1896,7 +1896,7 @@ static void CL_Vid_Restart_f() // we don't really technically need to run everything again, // but trying to optimize parts out is very likely to lead to nasty bugs if ( clc.demoplaying && clc.newDemoPlayer ) { - Cmd_TokenizeString( va("demo %s", clc.demoName) ); + Cmd_TokenizeString( va("demo \"%s\"", clc.demoName) ); CL_PlayDemo( qtrue ); } // start the cgame if connected