* Handle the command-queue of a socket. * @param cs The socket to handle the queue for. */
| 1667 | * @param cs The socket to handle the queue for. |
| 1668 | */ |
| 1669 | static void NetworkHandleCommandQueue(NetworkClientSocket *cs) |
| 1670 | { |
| 1671 | for (auto &cp : cs->outgoing_queue) cs->SendCommand(cp); |
| 1672 | cs->outgoing_queue.clear(); |
| 1673 | } |
| 1674 | |
| 1675 | /** |
| 1676 | * This is called every tick if this is a _network_server |
no test coverage detected