X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=svvm_cmds.c;fp=svvm_cmds.c;h=e17c24ea7feb7646d1f668204b3d61441d340358;hb=775c0f6d056c37d2e23f9a96ec827023fe5e3404;hp=8de1d444699c454e342d251f2af945325262699f;hpb=f603e392a4dc9b7da2732bc3c14585d54de99b7e;p=xonotic%2Fdarkplaces.git diff --git a/svvm_cmds.c b/svvm_cmds.c index 8de1d444..e17c24ea 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -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"); }