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

pull/155/head
rubidium 16 years ago
parent a21692bdc1
commit baff68179c

@ -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