Skip to content

Commit

Permalink
SendReliabilityLayer: fixed immediate parameter being ignored
Browse files Browse the repository at this point in the history
this bug occurred due to changes made in 2e5be5c.
  • Loading branch information
dktapps committed Oct 4, 2021
1 parent 2d7bac3 commit a7524fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic/SendReliabilityLayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function addEncapsulatedToQueue(EncapsulatedPacket $packet, bool $immedia
if(PacketReliability::isReliable($packet->reliability)){
$packet->messageIndex = $this->messageIndex++;
}
$this->addToQueue($packet, false);
$this->addToQueue($packet, $immediate);
}
}

Expand Down

0 comments on commit a7524fb

Please sign in to comment.