]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
Merge branch 'master' into Cloudwalk/Host_Init-overhaul
[xonotic/darkplaces.git] / cl_demo.c
index 4b91f9e3fdc6589a65c991b5c1b81d8beca63983..aaf37d4e5356cdfa0ca56d2519ce2d1dca71614e 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -384,7 +384,7 @@ void CL_Record_f(cmd_state_t *cmd)
 
        // start the map up
        if (c > 2)
-               Cmd_ExecuteString ( cmd, va(vabuf, sizeof(vabuf), "map %s", Cmd_Argv(cmd, 2)), src_local, false);
+               Cbuf_InsertText( cmd, va(vabuf, sizeof(vabuf), "map %s", Cmd_Argv(cmd, 2)));
 
        // open the demo file
        Con_Printf("recording to %s.\n", name);