small fixes
This commit is contained in:
parent
6f0fcc6406
commit
5171a9f42d
@ -518,7 +518,6 @@ void Network::send(const YAML::Emitter &em) {
|
||||
|
||||
void Network::sendMessage(uint8_t *data, size_t length) {
|
||||
if (client_peer) {
|
||||
std::cout << data << std::endl;
|
||||
ENetPacket * packet = enet_packet_create(data, length,
|
||||
ENET_PACKET_FLAG_RELIABLE);
|
||||
enet_peer_send(client_peer, 0, packet);
|
||||
|
Loading…
Reference in New Issue
Block a user