Change: improve some of the console messages related to networking (make them more uniform) and convert to fmt

This commit is contained in:
rubidium42
2021-06-12 21:31:57 +02:00
committed by rubidium42
parent b280a3a0ed
commit d9c1d18f2b
3 changed files with 23 additions and 23 deletions

View File

@@ -1010,7 +1010,7 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_COMMAND(Packet
cp.my_cmd = p->Recv_bool();
if (err != nullptr) {
IConsolePrintF(CC_ERROR, "WARNING: %s from server, dropping...", err);
IConsolePrint(CC_WARNING, "Dropping server connection due to {}.", err);
return NETWORK_RECV_STATUS_MALFORMED_PACKET;
}