X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=host_cmd.c;h=fae72a98624ba40d157eacf316ba7099dcd6ad49;hb=91f9d9a34880dd9210c5c7fbba0906f718693a32;hp=b88d27bcfd993d21693465b0e4a22ca5ce93ae2b;hpb=838d1f2208ac272d6474eefdccba1c6021eaa9e8;p=xonotic%2Fdarkplaces.git diff --git a/host_cmd.c b/host_cmd.c index b88d27bc..fae72a98 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -369,6 +369,11 @@ This is sent just before a server changes levels */ void Host_Reconnect_f (void) { + if (cmd_source == src_command) + { + Con_Print("reconnect is not valid from the console\n"); + return; + } if (Cmd_Argc() != 1) { Con_Print("reconnect : wait for signon messages again\n");