mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Fix downloads
This commit is contained in:
parent
2aec9f8e28
commit
f2e8683331
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue