This commit is contained in:
Arisotura 2023-09-08 11:39:19 +02:00
parent 045858cc98
commit 55050beff6
1 changed files with 2 additions and 1 deletions

View File

@ -646,7 +646,8 @@ int SendMPPacketGeneric(u32 type, u8* packet, int len, u64 timestamp)
if (!Host) return 0;
// TODO make the reliable part optional?
u32 flags = ENET_PACKET_FLAG_RELIABLE;
//u32 flags = ENET_PACKET_FLAG_RELIABLE;
u32 flags = ENET_PACKET_FLAG_UNSEQUENCED;
ENetPacket* enetpacket = enet_packet_create(nullptr, sizeof(MPPacketHeader)+len, flags);