]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - svvm_cmds.c
Add .md extension to README so it actually parses the markdown
[xonotic/darkplaces.git] / svvm_cmds.c
index 8de1d444699c454e342d251f2af945325262699f..e17c24ea7feb7646d1f668204b3d61441d340358 100644 (file)
@@ -2860,7 +2860,7 @@ qbool SV_VM_ConsoleCommand (const char *text)
 static void VM_SV_registercommand (prvm_prog_t *prog)
 {
        VM_SAFEPARMCOUNT(1, VM_SV_registercmd);
-       if(!Cmd_Exists(cmd_server, PRVM_G_STRING(OFS_PARM0)))
+       if(!Cmd_Exists(cmd_local, PRVM_G_STRING(OFS_PARM0)))
                Cmd_AddCommand(CF_SERVER, PRVM_G_STRING(OFS_PARM0), NULL, "console command created by QuakeC");
 }