Include client IDs in network server command logs

This commit is contained in:
Jonathan G Rennison
2022-10-15 21:11:36 +01:00
parent 7e452d6341
commit dd16df976c
4 changed files with 15 additions and 5 deletions

View File

@@ -1157,6 +1157,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::Receive_CLIENT_COMMAND(Packet
}
if (GetCommandFlags(cp.cmd) & CMD_CLIENT_ID) cp.p2 = this->client_id;
cp.client_id = this->client_id;
this->incoming_queue.Append(std::move(cp));
return NETWORK_RECV_STATUS_OKAY;