(svn r13137) -Fix: do not send rcon commands of the server to the first client but do directly execute those on the server.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 16 years ago
parent 9f41e0cf18
commit 976f86e7a7

@ -536,7 +536,11 @@ DEF_CONSOLE_CMD(ConRcon)
if (argc < 3) return false;
SEND_COMMAND(PACKET_CLIENT_RCON)(argv[1], argv[2]);
if (_network_server) {
IConsoleCmdExec(argv[2]);
} else {
SEND_COMMAND(PACKET_CLIENT_RCON)(argv[1], argv[2]);
}
return true;
}

Loading…
Cancel
Save