From f2e86833314db57911faf71caee26d2a0d53b14c Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 11 Apr 2022 23:22:43 -0700 Subject: [PATCH] Fix downloads --- src/pc/network/packets/packet_download.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pc/network/packets/packet_download.c b/src/pc/network/packets/packet_download.c index f3330c16..b5a3a236 100644 --- a/src/pc/network/packets/packet_download.c +++ b/src/pc/network/packets/packet_download.c @@ -283,6 +283,7 @@ void network_receive_download(struct Packet* p) { bool foundGroup = false; for (u64 i = 0; i < 2; i++) { struct OffsetGroup* og = &sOffsetGroup[i]; + if (!og->active) { continue; } for (u64 j = 0; j < OFFSET_COUNT; j++) { if (og->offset[j] != receiveOffset) { continue; @@ -292,6 +293,7 @@ void network_receive_download(struct Packet* p) { return; } og->rx[j] = true; + foundGroup = true; goto after_group; } }