From 692f2a5c836055c3703ded51d5bf7ddea27aa860 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Fri, 8 Sep 2023 11:39:19 +0200 Subject: [PATCH] attempt? --- src/frontend/qt_sdl/LAN.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/LAN.cpp b/src/frontend/qt_sdl/LAN.cpp index b27957b7..278f21aa 100644 --- a/src/frontend/qt_sdl/LAN.cpp +++ b/src/frontend/qt_sdl/LAN.cpp @@ -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);