This commit is contained in:
Arisotura
2023-04-05 22:28:58 +02:00
parent 946385cd8e
commit 60cc16fcfa

View File

@ -547,7 +547,7 @@ void RecvBlobFromMirrorHost(ENetPeer* peer, ENetPacket* pkt)
{ {
if (evt.type == ENET_EVENT_TYPE_RECEIVE && evt.channelID == 1) if (evt.type == ENET_EVENT_TYPE_RECEIVE && evt.channelID == 1)
{ {
RecvBlobFromMirrorHost(evt.packet); RecvBlobFromMirrorHost(evt.peer, evt.packet);
if (evt.packet->dataLength >= 1 && evt.packet->data[0] == 0x03) if (evt.packet->dataLength >= 1 && evt.packet->data[0] == 0x03)
break; break;
} }