Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/net/psforever/actors/net/MiddlewareActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ class MiddlewareActor(
private def inSubslotNotMissing(slot: Int, subslot: Int, inner: ByteVector): Unit = {
if (subslot == inSubslot + 1) {
in(PacketCoding.decodePacket(inner))
send(RelatedB(slot, subslot))
send(RelatedB(slot % 4, subslot))
inSubslot = subslot
} else if (subslot > inSubslot + 1) {
in(PacketCoding.decodePacket(inner))
Expand Down Expand Up @@ -1005,7 +1005,7 @@ class MiddlewareActor(
if (inSubslotsMissing.isEmpty) {
subslotMissingProcessor.cancel()
activeSubslotsFunc = inSubslotNotMissing
send(RelatedB(slot, inSubslot)) //send a confirmation packet after all requested packets are handled
send(RelatedB(slot % 4, inSubslot)) //send a confirmation packet after all requested packets are handled
log.trace("normalcy with packet subslot order; resuming normal workflow")
}
}
Expand Down
Loading